1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/databases/msql3/files/patch-ag
1998-08-30 15:57:34 +00:00

26 lines
682 B
Plaintext

--- 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)