svn commit: r339656 - head/lib/libc/stdio
Cy Schubert
cy at FreeBSD.org
Tue Oct 23 14:16:03 UTC 2018
Author: cy
Date: Tue Oct 23 14:16:02 2018
New Revision: 339656
URL: https://svnweb.freebsd.org/changeset/base/339656
Log:
Follow up on r331936. gets_s(3) will also fail in the same way that
gets(3) does. This was missed in r331936.
Reported by: emaste@
MFC after: 3 days
Modified:
head/lib/libc/stdio/fgets.3
Modified: head/lib/libc/stdio/fgets.3
==============================================================================
--- head/lib/libc/stdio/fgets.3 Tue Oct 23 14:11:35 2018 (r339655)
+++ head/lib/libc/stdio/fgets.3 Tue Oct 23 14:16:02 2018 (r339656)
@@ -140,6 +140,8 @@ or
.Pp
The function
.Fn gets
+and
+.Fn gets_s
may also fail and set
.Va errno
for any of the errors specified for the routine
More information about the svn-src-all
mailing list