cleaned up the errno mess for GETPWUID. we especially don't want to
authorTim Janik <timj@gtk.org>
Sat, 23 Jan 1999 02:16:11 +0000 (02:16 +0000)
committerTim Janik <timj@src.gnome.org>
Sat, 23 Jan 1999 02:16:11 +0000 (02:16 +0000)
commit63cc3f3cfb1ef2e4447ef962fd028ee58a8ec1c8
tree2f57b3880059fff015ff9024ed164d88ad12b13c
parent73fabcee297500a3d00cf2f8c3669c9fd41d0676
cleaned up the errno mess for GETPWUID. we especially don't want to

Sat Jan 23 02:14:28 1999  Tim Janik  <timj@gtk.org>

        * gutils.c (g_get_any_init): cleaned up the errno mess for
        GETPWUID. we especially don't want to g_error() out here!
        the warning for G_THREADS_ENABLED and !HAVE_GETPWUID_R isn't
        gcc related.
        if !HAVE_PWD_H and !NATIVE_WIN32, g_free the home dir before
        resetting it to NULL, why are we doing this anyways?
        reordered code a bit so we always provide defaults (except
        for g_home_dir).
12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gutils.c
gutils.c
testglib.c
tests/testglib.c