mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
0e6618d59d
PLIST, and honor PREFIX.
21 lines
669 B
Plaintext
21 lines
669 B
Plaintext
--- src/msql/sort.c.orig Fri Aug 28 17:20:10 1998
|
|
+++ src/msql/sort.c Fri Aug 28 17:18:42 1998
|
|
@@ -280,7 +280,7 @@
|
|
/*
|
|
** Create the dummy output table
|
|
*/
|
|
- snprintf(dataPath,MAXPATHLEN,"%s/msqldb/.tmp/%s.tmp",INST_DIR,
|
|
+ snprintf(dataPath,MAXPATHLEN,"/var/db/msqldb/.tmp/%s.tmp",
|
|
entry->table);
|
|
tmp.dataFD = open(dataPath, O_CREAT|O_RDWR, 0600);
|
|
bzero(&sblock, sizeof(sblock));
|
|
@@ -328,7 +328,7 @@
|
|
/*
|
|
** Swap the new table into place
|
|
*/
|
|
- snprintf(oldPath,MAXPATHLEN,"%s/msqldb/.tmp/%s.dat",INST_DIR,
|
|
+ snprintf(oldPath,MAXPATHLEN,"/var/db/msqldb/.tmp/%s.dat",
|
|
entry->table);
|
|
munmap(entry->dataMap, entry->size);
|
|
close(entry->dataFD);
|