summaryrefslogtreecommitdiff
path: root/databases/msql3/files/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'databases/msql3/files/patch-an')
-rw-r--r--databases/msql3/files/patch-an71
1 files changed, 0 insertions, 71 deletions
diff --git a/databases/msql3/files/patch-an b/databases/msql3/files/patch-an
deleted file mode 100644
index ce08707d13fb..000000000000
--- a/databases/msql3/files/patch-an
+++ /dev/null
@@ -1,71 +0,0 @@
---- src/msql/table.c Fri Feb 7 10:06:42 1997
-+++ src/msql/table.c Fri Feb 7 10:16:35 1997
-@@ -100,8 +100,7 @@
- {
- char path[MAXPATHLEN];
-
-- (void)snprintf(path, MAXPATHLEN, "%s/msqldb/%s/%s.dat",msqlHomeDir,db,
-- table);
-+ (void)snprintf(path, MAXPATHLEN, "/var/db/msqldb/%s/%s.dat",db,table);
- #ifdef OS2
- return(_sopen(path, MAXPATHLEN, O_RDWR | O_BINARY, SH_DENYNO, S_IREAD | S_IWRITE));
- #else
-@@ -115,8 +115,7 @@
- {
- char path[MAXPATHLEN];
-
-- (void)snprintf(path, MAXPATHLEN,"%s/msqldb/%s/%s.ofl",msqlHomeDir,db,
-- table);
-+ (void)snprintf(path, MAXPATHLEN, "/var/db/msqldb/%s/%s.ofl",db,table);
- #ifdef OS2
- return(_sopen(path, MAXPATHLEN, O_RDWR | O_BINARY, SH_DENYNO, S_IREAD | S_IWRITE));
- #else
-@@ -300,8 +300,7 @@
- static char buf[MAX_FIELDS * sizeof(field_t)];
-
- msqlTrace(TRACE_IN,"readTableDef()");
-- (void)snprintf(path, MAXPATHLEN, "%s/msqldb/%s/%s.def",msqlHomeDir,
-- db,table);
-+ (void)snprintf(path, MAXPATHLEN, "/var/db/msqldb/%s/%s.def",db,table);
- #ifdef OS2
- fd = _sopen(path, MAXPATHLEN, O_RDONLY | O_BINARY, SH_DENYNO, S_IREAD | S_IWRITE);
- #else
-@@ -367,7 +367,7 @@
- DIR *dirp;
- char path[MAXPATHLEN];
-
-- (void)snprintf(path,MAXPATHLEN,"%s/msqldb/.tmp",msqlHomeDir);
-+ (void)strcpy(path, "/var/db/msqldb/.tmp");
- dirp = opendir(path);
- if (!dirp)
- {
-@@ -387,7 +387,7 @@
- cur = readdir(dirp);
- continue;
- }
-- (void)snprintf(path,MAXPATHLEN,"%s/msqldb/.tmp/%s",msqlHomeDir,
-+ (void)snprintf(path, MAXPATHLEN, "/var/db/msqldb/.tmp/%s",
- cur->d_name);
- unlink(path);
- cur = readdir(dirp);
-@@ -434,8 +434,7 @@
- {
- tmpfile = cp+1;
- }
-- (void)snprintf(path,MAXPATHLEN,"%s/msqldb/.tmp/%s.dat",msqlHomeDir,
-- tmpfile);
-+ (void)snprintf(path, MAXPATHLEN, "/var/db/msqldb/.tmp/%s.dat",tmpfile);
-
-
- /*
-@@ -642,8 +642,8 @@
- char path[MAXPATHLEN];
-
- msqlTrace(TRACE_IN,"freeTmpTable()");
-- (void)snprintf(path,MAXPATHLEN, "%s/msqldb/.tmp/%s.dat",msqlHomeDir,
-- entry->table);
-+ (void)snprintf(path, MAXPATHLEN, "/var/db/msqldb/.tmp/%s.dat",
-+ entry->table);
- freeTableDef(entry->def);
- entry->def = NULL;
- *(entry->db) = 0;