Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Oct 2024 17:29:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 281828] gets_s(3) manpage needs to mention about __STDC_WANT_LIB_EXT1__
Message-ID:  <bug-281828-227-X5t7xTwsCr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-281828-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281828

Graham Percival <gperciva@tarsnap.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gperciva@tarsnap.com

--- Comment #1 from Graham Percival <gperciva@tarsnap.com> ---
To be pedantic, the gets_s prototype was hidden in <stdio.h> when it was first
introduced:
 
https://github.com/freebsd/freebsd-src/commit/c13559d31e90a8c405771be36ab9ccfa41d4ebd6#diff-5e1f2789f2dc0618ffb77ce98c2fab185eaedd0897a0326180f0fb4db794e0b3R273

The "un-hiding" was in <ssp/stdio.h>, which was introduced much later, in
  https://reviews.freebsd.org/D45679

So the missing mention of __STDC_WANT_LIB_EXT1__ in the man page was a problem
since 2018-04-03, not a new problem on 2024-10-02.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281828-227-X5t7xTwsCr>