From 6207fc885c2b9ab47319481f459e419232a95913 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 3 Jul 2005 07:15:09 +0000 Subject: [PATCH] Include stdio--.h rather than stdio.h and stdio-safer.h. (getusershell): Call fopen, not fopen_safer. --- lib/getusershell.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/getusershell.c b/lib/getusershell.c index 1b9a18a..ec35aa2 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. */ -- 2.7.4