diff options
author | Christopher Faylor <me@cgf.cx> | 2000-06-25 03:48:10 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-06-25 03:48:10 +0000 |
commit | 84a1af74a218779daac9b1e2e2634701ecd5f388 (patch) | |
tree | 2acd18de3cdaa8ffba13df13b3d055bf777237a9 /winsup/cygwin/grp.cc | |
parent | 749bdbe92a383d2ea92897a5d0bc843198602aad (diff) | |
download | cygnal-84a1af74a218779daac9b1e2e2634701ecd5f388.tar.gz cygnal-84a1af74a218779daac9b1e2e2634701ecd5f388.tar.bz2 cygnal-84a1af74a218779daac9b1e2e2634701ecd5f388.zip |
* grp.cc (read_etc_group): Open file in text mode.
* pwd.cc (read_etc_passwd): Ditto.
* shared.h: Bump PROC_MAGIC.
Diffstat (limited to 'winsup/cygwin/grp.cc')
-rw-r--r-- | winsup/cygwin/grp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc index 2009275c7..79b1157af 100644 --- a/winsup/cygwin/grp.cc +++ b/winsup/cygwin/grp.cc @@ -131,7 +131,7 @@ read_etc_group () strncpy (group_name, "Administrators", sizeof (group_name)); ++group_sem; - FILE *f = fopen (etc_group, "r"); + FILE *f = fopen (etc_group, "rt"); --group_sem; if (f) |