Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2018 14:16:02 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339656 - head/lib/libc/stdio
Message-ID:  <201810231416.w9NEG2Sj052353@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810231416.w9NEG2Sj052353>