mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 00:18:44 +02:00
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().
This commit is contained in:
committed by
Matthias Clasen
parent
00f952f8e8
commit
8529c47126
@@ -1,3 +1,13 @@
|
||||
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().
|
||||
|
||||
2005-12-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmacros.h (G_GNUC_WARN_UNUSED_RESULT): Add a macro
|
||||
|
Reference in New Issue
Block a user