HomeFreeBSD

Partially undo r351659, which unconditionally removed gets(3) from libc++.

Description

Partially undo r351659, which unconditionally removed gets(3) from libc++.

Instead, pull in r371324 from upstream libc++ trunk (by me):

Remove ::gets for FreeBSD 13 and later

Summary:

In https://svnweb.freebsd.org/changeset/base/351659 @emaste removed
gets() from FreeBSD 13's libc, and our copies of libc++ and
libstdc++.  In that change, the declarations were simply deleted, but
I would like to propose this conditional test instead.

Reviewers: EricWF, mclow.lists, emaste

Reviewed By: mclow.lists

Subscribers: krytarowski, christof, ldionne, emaste, libcxx-commits

Differential Revision: https://reviews.llvm.org/D67316

This makes these changes more MFCable.

Details

Committed
dimSep 19 2019, 7:39 PM
Parents
rS352537: Merge ^/head r352436 through r352536.
Branches
Unknown
Tags
Unknown