diff options
author | unknown <monty@hundin.mysql.fi> | 2001-10-02 22:21:14 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-10-02 22:21:14 +0300 |
commit | c6e3617411d46c544bda23c017ae3394506f8068 (patch) | |
tree | bb7139d81768e839cbedc532114cc18a75af1e68 /strings | |
parent | 1dfa857a587a276c1c0a9161cc68455e04ebf497 (diff) | |
download | mariadb-git-c6e3617411d46c544bda23c017ae3394506f8068.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.c | 3 |
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> |