summaryrefslogtreecommitdiff
path: root/mysys/mf_iocache2.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-10-03 17:02:14 +0300
committermonty@hundin.mysql.fi <>2001-10-03 17:02:14 +0300
commit55a6911bb158126302dd93467818fd2b32bcb78a (patch)
treebbfafc773031daba5da578013d4bbd52be39e770 /mysys/mf_iocache2.c
parent193ae61fc0ee63dfed758c8623f4ec331efd2374 (diff)
downloadmariadb-git-55a6911bb158126302dd93467818fd2b32bcb78a.tar.gz
Portability fixes.
Diffstat (limited to 'mysys/mf_iocache2.c')
-rw-r--r--mysys/mf_iocache2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysys/mf_iocache2.c b/mysys/mf_iocache2.c
index 1397c14515b..76b8055bb45 100644
--- a/mysys/mf_iocache2.c
+++ b/mysys/mf_iocache2.c
@@ -96,6 +96,7 @@ uint my_b_fill(IO_CACHE *info)
** Read a string ended by '\n' into a buffer of 'max_length' size.
** Returns number of characters read, 0 on error.
** last byte is set to '\0'
+** If buffer is full then to[max_length-1] will be set to \0.
*/
uint my_b_gets(IO_CACHE *info, char *to, uint max_length)