This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Clean up conditionals for declaration of gets().
- From: Zack Weinberg <zackw at panix dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: Joseph Myers <joseph at codesourcery dot com>, Wilco Dijkstra <wdijkstr at arm dot com>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Date: Mon, 20 Feb 2017 07:17:24 -0500
- Subject: Re: [PATCH] Clean up conditionals for declaration of gets().
- Authentication-results: sourceware.org; auth=none
- References: <20170216151151.9E56214B9D@panix1.panix.com>
On Thu, Feb 16, 2017 at 10:01 AM, Zack Weinberg <zackw@panix.com> wrote:
>
> This patch adds a new macro to features.h that encapsulates the
> complicated rule for when to declare gets. stdio.h and bits/stdio2.h
> can simply test __GLIBC_USE (DEPRECATED_GETS). Then, instead of
> having a duplicate gets declaration in include/stdio.h,
> debug/tst-chk1.c and stdio-common/tst-gets.c force that flag on.
Ping? It's only been five days, but this patch is quite
straightforward and it's a dependency for the testsuite patch series
I'm about to post.
zw