1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/databases/msql3/files/patch-ak
James FitzGibbon 1a84e7d783 Merge from msql-beta port as of 07/11/97
Upgrade to v2.0 release
PR:             ports/4072
1997-07-14 12:47:08 +00:00

21 lines
724 B
Plaintext

--- src/msql/index.c Fri Feb 7 10:06:42 1997
+++ src/msql/index.c Fri Feb 7 10:17:04 1997
@@ -105,7 +105,7 @@
fd;
msqlTrace(TRACE_IN,"loadIndices()");
- (void)sprintf(path,"%s/msqldb/%s/%s.idx",msqlHomeDir,db,table);
+ (void)sprintf(path,"/var/db/msqldb/%s/%s.idx",db,table);
#ifdef OS2
fd = _sopen(path ,O_RDONLY | O_BINARY, SH_DENYNO, S_IREAD | S_IWRITE);
#else
@@ -163,7 +163,7 @@
curIndex->next = NULL;
}
}
- sprintf(path,"%s/msqldb/%s/%s.idx-%s",msqlHomeDir,db,table,
+ sprintf(path,"/var/db/msqldb/%s/%s.idx-%s",db,table,
curIndex->name);
curIndex->tree = avlOpen(path);
curIndex->buf = (char *)malloc(curIndex->length + 1);