summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-10-02 22:21:14 +0300
committerunknown <monty@hundin.mysql.fi>2001-10-02 22:21:14 +0300
commitabf1b80cf457702fd883c3a17b1d9eaed1c7c6b6 (patch)
treebb7139d81768e839cbedc532114cc18a75af1e68 /strings
parent777df00444ab02cc3b5b903ce2bb6a7245da1987 (diff)
downloadmariadb-git-abf1b80cf457702fd883c3a17b1d9eaed1c7c6b6.tar.gz
Fix for make dist
Made replication test portable Fixed buffer overrun bug in replication client/Makefile.am: Fix for make dist mysql-test/t/rpl000017-slave.sh: Made replication test portable sql/slave.cc: Fixed buffer overrun bug strings/strmake.c: More documentation
Diffstat (limited to 'strings')
-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>