summaryrefslogtreecommitdiff
path: root/strings/strmake.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-10-02 22:21:14 +0300
committermonty@hundin.mysql.fi <>2001-10-02 22:21:14 +0300
commitdb82d30bf0419d509101110ade2f8f7902900fa1 (patch)
treebb7139d81768e839cbedc532114cc18a75af1e68 /strings/strmake.c
parent4dd46e346cd838b8dca9c64ab505e2da073debb5 (diff)
downloadmariadb-git-db82d30bf0419d509101110ade2f8f7902900fa1.tar.gz
Fix for make dist
Made replication test portable Fixed buffer overrun bug in replication
Diffstat (limited to 'strings/strmake.c')
-rw-r--r--strings/strmake.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/strings/strmake.c b/strings/strmake.c
index d4edce689a5..66a230338a1 100644
--- a/strings/strmake.c
+++ b/strings/strmake.c
@@ -22,7 +22,8 @@
strmake(dst,src,length) moves length characters, or until end, of src to
dst and appends a closing NUL to dst.
- strmake() returns pointer to closing null;
+ Note that is strlen(src) >= length then dst[length] will be set to \0
+ strmake() returns pointer to closing null
*/
#include <global.h>