[Bug 281828] gets_s(3) manpage needs to mention about __STDC_WANT_LIB_EXT1__

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 03 Oct 2024 17:29:20 UTC
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.