summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-07-03 07:15:09 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-07-03 07:15:09 +0000
commit6207fc885c2b9ab47319481f459e419232a95913 (patch)
tree6aa1d4e3c62095e37aa5a329a3a528374ae705c8
parentbd1806f708eeb6da8682e1612f5e21fa3a664be5 (diff)
downloadcoreutils-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.c5
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. */