1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- src/msql/config.c.orig Fri May 29 19:21:56 1998
+++ src/msql/config.c Fri Aug 28 17:14:21 1998
@@ -306,11 +306,11 @@
msqlConfigLoaded = 1;
if (file)
{
- snprintf(buf,sizeof(buf),"%s/%s", INST_DIR, file);
+ snprintf(buf,sizeof(buf),"%s/etc/msql2/%s", INST_DIR, file);
fp = fopen(buf,"r");
if (!fp)
{
- snprintf(buf,sizeof(buf),"%s/%s.conf",INST_DIR,file);
+ snprintf(buf,sizeof(buf),"%s/etc/msql2/%s.conf",INST_DIR,file);
fp = fopen(buf,"r");
}
if (!fp)
@@ -325,7 +325,7 @@
}
else
{
- snprintf(buf,sizeof(buf),"%s/msql.conf", INST_DIR);
+ snprintf(buf,sizeof(buf),"%s/etc/msql2/msql.conf", INST_DIR);
fp = fopen(buf,"r");
}
if (!fp)
|