1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

Clean up internal fopen uses

No need to ever not use c and e.
This commit is contained in:
Ulrich Drepper
2011-11-15 04:24:42 -05:00
parent 82af0fa8de
commit 312be3f9f5
27 changed files with 117 additions and 46 deletions

View File

@@ -33,7 +33,7 @@ extern int xdecrypt (char *, char *);
static enum nss_status
search (const char *netname, char *result, int *errnop, int secret)
{
FILE *stream = fopen (DATAFILE, "re");
FILE *stream = fopen (DATAFILE, "rce");
if (stream == NULL)
return errno == EAGAIN ? NSS_STATUS_TRYAGAIN : NSS_STATUS_UNAVAIL;