On Sun, Sep 1, 2019 at 9:12 AM Ed Maste <ema...@freebsd.org> wrote:
>
> Author: emaste
> Date: Sun Sep  1 16:12:05 2019
> New Revision: 351659
> URL: https://svnweb.freebsd.org/changeset/base/351659
>
> Log:
>   libc: remove gets
>
>   gets is unsafe and shouldn't be used (for many years now).  Leave it in
>   the existing symbol version so anything that previously linked aginst it
>   still runs, but do not allow new software to link against it.
> ...
> Differential Revision:      https://reviews.freebsd.org/D12298

Thanks, Ed!

I think I saw someone mention some incarnation of standard C++ removes
gets(), but to add context from the standard C side: it was present,
but obsolete and deprecated, in C99; and was removed in C11.

Best,
Conrad
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to