aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-04-18 16:03:08 +0000
committerCorinna Vinschen <corinna@vinschen.de>2005-04-18 16:03:08 +0000
commit96ab3848d6f533ae8e6121687539c494ab823e9e (patch)
tree236c9a4bfc4806cbee2f5d8ddadd21a72d368980 /winsup
parent1c74754f17b754b497187d69f4f696ab054a743b (diff)
downloadnewlib-96ab3848d6f533ae8e6121687539c494ab823e9e.zip
newlib-96ab3848d6f533ae8e6121687539c494ab823e9e.tar.gz
newlib-96ab3848d6f533ae8e6121687539c494ab823e9e.tar.bz2
* grp.cc (initgroups32): Return the correct value.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/grp.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 750773f..2c89b00 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-18 Pierre Humblet <pierre.humblet@ieee.org>
+
+ * grp.cc (initgroups32): Return the correct value.
+
2005-04-16 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_base::utimes_fs): Ignore
diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc
index c82a59f..553b575 100644
--- a/winsup/cygwin/grp.cc
+++ b/winsup/cygwin/grp.cc
@@ -494,7 +494,7 @@ initgroups32 (const char *name, __gid32_t gid)
out:
syscall_printf ( "%d = initgroups (%s, %u)", ret, name, gid);
- return 0;
+ return ret;
}
extern "C" int