aboutsummaryrefslogtreecommitdiff
path: root/databases/msql/files/patch-ag
blob: 9f1f6bf41c1adbd4e1da427fefeba2bf93bed2f2 (plain) (blame)
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	Thu Aug 19 07:33:13 1999
+++ src/msql/config.c	Sat Jan 27 07:42:07 2001
@@ -344,11 +344,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)
@@ -385,7 +385,7 @@
 #endif
 
 #if defined(_OS_UNIX)
-		snprintf(buf,sizeof(buf),"%s/msql.conf", INST_DIR);
+		snprintf(buf,sizeof(buf),"%s/etc/msql2/msql.conf", INST_DIR);
 #endif
 		fp = fopen(buf,"r");
 	}