Handle multiple user names with the same UID better. (#319535, Laszlo
authorMatthias Clasen <mclasen@redhat.com>
Sun, 4 Dec 2005 07:00:50 +0000 (07:00 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 4 Dec 2005 07:00:50 +0000 (07:00 +0000)
commit8529c47126f5da5e58e4ed62c6d0220f1b7d5949
treee8c5c123d4f5169705a78f196bc8626b49135207
parent00f952f8e85527988a6171a7d9617af14c0ff5a2
Handle multiple user names with the same UID better. (#319535, Laszlo

2005-12-04  Matthias Clasen  <mclasen@redhat.com>

Handle multiple user names with the same UID better.
(#319535, Laszlo Peter)

* glib/gutils.c (g_get_any_init_do): When determining user
data, first look up $LOGNAME. If the UID doesn't match
getuid(), fall back to the current behaviour of looking
up the user data based on getuid().
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
glib/gutils.c