mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Clean up internal fopen uses
No need to ever not use c and e.
This commit is contained in:
@ -104,7 +104,7 @@ initshells()
|
||||
shells = NULL;
|
||||
free(strings);
|
||||
strings = NULL;
|
||||
if ((fp = fopen(_PATH_SHELLS, "rc")) == NULL)
|
||||
if ((fp = fopen(_PATH_SHELLS, "rce")) == NULL)
|
||||
goto init_okshells_noclose;
|
||||
if (fstat64(fileno(fp), &statb) == -1) {
|
||||
init_okshells:
|
||||
|
Reference in New Issue
Block a user