From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikos Mavrogiannopoulos Subject: Re: [PATCH 2/2] crypt.3, encrypt.3: Add notes about _XOPEN_CRYPT. Date: Tue, 17 Apr 2018 15:25:30 +0200 Message-ID: References: <6d9a7e45-5d31-efbd-78ad-2808d492eb21@redhat.com> <640a98e3-ab5f-472b-adfe-db0b0ae5cfc7@gmail.com> <6ef320c1-1c58-e5c2-f2ca-c857389b0366@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org In-Reply-To: <6ef320c1-1c58-e5c2-f2ca-c857389b0366@redhat.com> To: Florian Weimer Cc: "Michael Kerrisk (man-pages)" , Carlos O'Donell , "linux-man@vger.kernel.org" , Zack Weinberg , Rical Jasan , GNU C Library List-Id: linux-man@vger.kernel.org On Sat, Apr 14, 2018 at 9:56 PM, Florian Weimer wrote: > On 04/14/2018 09:11 PM, Nikos Mavrogiannopoulos wrote: >> >> What about the second part of the suggestion. The crypt.3 manpage >> currently suggests including , with _XOPEN_SOURCE defined, >> and that does not work with current glibc. > > > Current Fedora glibc. We need to align the Fedora behavior with upstream > again, either by lobbying for an upstream change, or changing Fedora back to > how things were before. Zack mentions reasons that crypt.h is already in use, and glibc itself is already documenting the use of crypt.h instead of unistd.h [0]. uclibc also provides crypt.h [1]. Wouldn't that be a sufficient reason to make the manpage document crypt.h as primary? [0]. https://www.gnu.org/software/libc/manual/html_node/crypt.html [1]. https://git.busybox.net/uClibc/tree/include/crypt.h