diff options
author | Mark Murray <markm@FreeBSD.org> | 1996-11-01 19:05:24 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 1996-11-01 19:05:24 +0000 |
commit | 99d1416bbb707336b30a1beac2db858baceb95e8 (patch) | |
tree | a71f2c8fa535421e978ff97941d9588681cf05cc | |
parent | Use phkmalloc instead of Perl's own malloc. Also clean up the FreeBSD (diff) |
Add a fix from the author.
Obtained from:The author via p5-Msql
Notes
Notes:
svn path=/head/; revision=4242
-rw-r--r-- | databases/msql/files/patch-ae | 12 | ||||
-rw-r--r-- | databases/msql3/files/patch-ae | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/databases/msql/files/patch-ae b/databases/msql/files/patch-ae new file mode 100644 index 000000000000..205f11d984a1 --- /dev/null +++ b/databases/msql/files/patch-ae @@ -0,0 +1,12 @@ +--- src/msql/msqldb.c.ORG Wed Oct 23 19:19:06 1996 ++++ src/msql/msqldb.c Wed Oct 23 19:20:51 1996 +@@ -1398,6 +1398,9 @@ + safeFree(entry->rowBuf); + safeFree(entry->keyBuf); + entry->def = NULL; ++ *(entry->DB) = 0; ++ *(entry->table) = 0; ++ entry->age = 0; + } + + /* diff --git a/databases/msql3/files/patch-ae b/databases/msql3/files/patch-ae new file mode 100644 index 000000000000..205f11d984a1 --- /dev/null +++ b/databases/msql3/files/patch-ae @@ -0,0 +1,12 @@ +--- src/msql/msqldb.c.ORG Wed Oct 23 19:19:06 1996 ++++ src/msql/msqldb.c Wed Oct 23 19:20:51 1996 +@@ -1398,6 +1398,9 @@ + safeFree(entry->rowBuf); + safeFree(entry->keyBuf); + entry->def = NULL; ++ *(entry->DB) = 0; ++ *(entry->table) = 0; ++ entry->age = 0; + } + + /* |