2008-10-09 Corinna Vinschen <corinna@vinschen.de>
+ * grp.cc (pwdgrp::read_group): Generate more speaking group name
+ if passwd gid exists under different gid in /etc/group.
+
+2008-10-09 Corinna Vinschen <corinna@vinschen.de>
+
* path.cc (path_conv::is_binary): Always check for GetBinaryType.
* syscalls.cc (rename): Fix test for just changing case of name on
case insensitive filesystems.
cygheap->user.groups.pgsid.string (strbuf);
if ((gr = internal_getgrsid (cygheap->user.groups.pgsid)))
- strlcpy (group_name, gr->gr_name, sizeof (group_name));
+ snprintf (group_name, sizeof (group_name),
+ "passwd/group_GID_clash(%lu/%lu)", myself->gid, gr->gr_gid);
if (myself->uid == UNKNOWN_UID)
strcpy (group_name, "mkpasswd"); /* Feedback... */
snprintf (linebuf, sizeof (linebuf), "%s:%s:%lu:%s",