1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/databases/msql/files/patch-ag

26 lines
682 B
Plaintext
Raw Normal View History

--- 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 @@
}
1997-07-14 12:35:19 +00:00
else
{
- snprintf(buf,sizeof(buf),"%s/msql.conf", INST_DIR);
+ snprintf(buf,sizeof(buf),"%s/etc/msql2/msql.conf", INST_DIR);
1997-07-14 12:35:19 +00:00
fp = fopen(buf,"r");
}
if (!fp)