]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include stdio--.h rather than stdio.h
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jul 2005 07:15:09 +0000 (07:15 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jul 2005 07:15:09 +0000 (07:15 +0000)
and stdio-safer.h.
(getusershell): Call fopen, not fopen_safer.

lib/getusershell.c

index 1b9a18a3c9105ca502ea0c726a0427e2b72ae4a8..ec35aa241c22bbb482b2adaef9b955a776f70cca 100644 (file)
 # 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.  */