mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Clean up internal fopen uses
No need to ever not use c and e.
This commit is contained in:
@ -114,7 +114,7 @@ ruserpass(host, aname, apass)
|
||||
buf = alloca (strlen (hdir) + 8);
|
||||
|
||||
__stpcpy (__stpcpy (buf, hdir), "/.netrc");
|
||||
cfile = fopen(buf, "rc");
|
||||
cfile = fopen(buf, "rce");
|
||||
if (cfile == NULL) {
|
||||
if (errno != ENOENT)
|
||||
warn("%s", buf);
|
||||
|
Reference in New Issue
Block a user