mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-27 01:44:21 +00:00
Include stdio--.h rather than stdio.h
and stdio-safer.h. (getusershell): Call fopen, not fopen_safer.
This commit is contained in:
parent
bd1806f708
commit
6207fc885c
@ -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. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user