aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-19 12:24:55 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-19 12:24:55 +0000
commita9439a9c1d4cf58f1097884c4fe7322a400464e3 (patch)
tree9160e03e3dc5e0d6df54b8015de63711fc55b515 /databases
parente986c7b54ad1b52d0c297d22ce4e1c1d2ae4c1c3 (diff)
downloadports-a9439a9c1d4cf58f1097884c4fe7322a400464e3.tar.gz
ports-a9439a9c1d4cf58f1097884c4fe7322a400464e3.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/xmysql/files/patch-XmysqlDB.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/databases/xmysql/files/patch-XmysqlDB.c b/databases/xmysql/files/patch-XmysqlDB.c
new file mode 100644
index 000000000000..a2d29fb4674b
--- /dev/null
+++ b/databases/xmysql/files/patch-XmysqlDB.c
@@ -0,0 +1,19 @@
+--- XmysqlDB.c.orig Tue Nov 19 13:21:10 2002
++++ XmysqlDB.c Tue Nov 19 13:25:49 2002
+@@ -3,7 +3,6 @@
+ #include "Xmysql_def.h"
+
+ /* prototypes */
+-char *strmov (char *dst, const char *src);
+ char *strfill (char *s, uint len, int fill);
+
+ /* this macro is used to make sure all returns clean up resources */
+@@ -800,7 +799,7 @@
+ }
+ }
+ else {
+- pos = strmov (pos, "NULL");
++ pos = strcpy (pos, "NULL");
+ if (maxLen > 4)
+ pos = strfill (pos, maxLen - 4, ' ');
+ }