From abf1b80cf457702fd883c3a17b1d9eaed1c7c6b6 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 2 Oct 2001 22:21:14 +0300 Subject: 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 --- strings/strmake.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'strings/strmake.c') 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 -- cgit v1.2.1