diff options
author | Bruno Haible <bruno@clisp.org> | 2022-10-17 02:44:54 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-10-17 02:44:54 +0200 |
commit | 841e32cca12fccf378a5283c00a929a80c99951c (patch) | |
tree | 77021fdc678ded3afcbfdc56d1a25be1e4daeaad /doc | |
parent | 2118e7cf12997850652002b3af3c44511c98f4bc (diff) | |
download | gnulib-841e32cca12fccf378a5283c00a929a80c99951c.tar.gz |
getdelim: Work around buggy implementation on macOS 10.13.
* doc/posix-functions/getdelim.texi: Mention the macOS bug.
* m4/getdelim.m4 (gl_FUNC_GETDELIM): Let the "checking for working
getdelim function" test answer 'no' on macOS.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/posix-functions/getdelim.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/posix-functions/getdelim.texi b/doc/posix-functions/getdelim.texi index b076658574..7e1851fac3 100644 --- a/doc/posix-functions/getdelim.texi +++ b/doc/posix-functions/getdelim.texi @@ -12,6 +12,9 @@ Portability problems fixed by Gnulib: This function is missing on some platforms: Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10, mingw, MSVC 14, Android 4.2. @item +This function makes out-of-bounds reads on some platforms: +macOS 10.13. +@item This function crashes when passed a pointer to a NULL buffer together with a pointer to a non-zero buffer size on some platforms: FreeBSD 8.0. |