strmov() is a macro for strcpy() and obsolete in libmysqlclient.
Noticed on: bento
This commit is contained in:
parent
e986c7b54a
commit
a9439a9c1d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70475
19
databases/xmysql/files/patch-XmysqlDB.c
Normal file
19
databases/xmysql/files/patch-XmysqlDB.c
Normal file
@ -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, ' ');
|
||||
}
|
Loading…
Reference in New Issue
Block a user