From: Paul Eggert Date: Sun, 3 Jul 2005 07:15:09 +0000 (+0000) Subject: Include stdio--.h rather than stdio.h X-Git-Tag: CPPI-1_12~391 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6207fc885c2b9ab47319481f459e419232a95913;p=thirdparty%2Fcoreutils.git Include stdio--.h rather than stdio.h and stdio-safer.h. (getusershell): Call fopen, not fopen_safer. --- diff --git a/lib/getusershell.c b/lib/getusershell.c index 1b9a18a3c9..ec35aa241c 100644 --- a/lib/getusershell.c +++ b/lib/getusershell.c @@ -33,11 +33,10 @@ # endif #endif -#include #include #include -#include "stdio-safer.h" +#include "stdio--.h" #include "xalloc.h" #if USE_UNLOCKED_IO @@ -99,7 +98,7 @@ getusershell (void) if (shellstream == NULL) { - shellstream = fopen_safer (SHELLS_FILE, "r"); + shellstream = fopen (SHELLS_FILE, "r"); if (shellstream == NULL) { /* No shells file. Use the default list. */