diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-03 07:15:09 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-03 07:15:09 +0000 |
commit | 6207fc885c2b9ab47319481f459e419232a95913 (patch) | |
tree | 6aa1d4e3c62095e37aa5a329a3a528374ae705c8 | |
parent | bd1806f708eeb6da8682e1612f5e21fa3a664be5 (diff) | |
download | coreutils-6207fc885c2b9ab47319481f459e419232a95913.tar.xz |
Include stdio--.h rather than stdio.h
and stdio-safer.h.
(getusershell): Call fopen, not fopen_safer.
-rw-r--r-- | lib/getusershell.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/getusershell.c b/lib/getusershell.c index 1b9a18a3c..ec35aa241 100644 --- a/lib/getusershell.c +++ b/lib/getusershell.c @@ -33,11 +33,10 @@ # endif #endif -#include <stdio.h> #include <stdlib.h> #include <ctype.h> -#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. */ |