mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Clean up internal fopen uses
No need to ever not use c and e.
This commit is contained in:
@@ -30,7 +30,7 @@ _nss_files_initgroups_dyn (const char *user, gid_t group, long int *start,
|
||||
long int *size, gid_t **groupsp, long int limit,
|
||||
int *errnop)
|
||||
{
|
||||
FILE *stream = fopen ("/etc/group", "re");
|
||||
FILE *stream = fopen ("/etc/group", "rce");
|
||||
if (stream == NULL)
|
||||
{
|
||||
*errnop = errno;
|
||||
|
Reference in New Issue
Block a user