mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-21 14:49:16 +02:00
jgarzik enthusiastically applies a patch
This commit is contained in:
parent
e4199bbcaf
commit
e0015d5a27
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 16:16:01 EST 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
|
* gutils.c (g_get_any_init):
|
||||||
|
Revert previous patch, move error value set line down to proper
|
||||||
|
place. Caught by Elliot Lee <sopwith@redhat.com>.
|
||||||
|
|
||||||
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
||||||
|
|
||||||
* gutils.c (g_get_any_init): All gtk apps were broken
|
* gutils.c (g_get_any_init): All gtk apps were broken
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 16:16:01 EST 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
|
* gutils.c (g_get_any_init):
|
||||||
|
Revert previous patch, move error value set line down to proper
|
||||||
|
place. Caught by Elliot Lee <sopwith@redhat.com>.
|
||||||
|
|
||||||
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
||||||
|
|
||||||
* gutils.c (g_get_any_init): All gtk apps were broken
|
* gutils.c (g_get_any_init): All gtk apps were broken
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 16:16:01 EST 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
|
* gutils.c (g_get_any_init):
|
||||||
|
Revert previous patch, move error value set line down to proper
|
||||||
|
place. Caught by Elliot Lee <sopwith@redhat.com>.
|
||||||
|
|
||||||
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
||||||
|
|
||||||
* gutils.c (g_get_any_init): All gtk apps were broken
|
* gutils.c (g_get_any_init): All gtk apps were broken
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 16:16:01 EST 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
|
* gutils.c (g_get_any_init):
|
||||||
|
Revert previous patch, move error value set line down to proper
|
||||||
|
place. Caught by Elliot Lee <sopwith@redhat.com>.
|
||||||
|
|
||||||
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
||||||
|
|
||||||
* gutils.c (g_get_any_init): All gtk apps were broken
|
* gutils.c (g_get_any_init): All gtk apps were broken
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 16:16:01 EST 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
|
* gutils.c (g_get_any_init):
|
||||||
|
Revert previous patch, move error value set line down to proper
|
||||||
|
place. Caught by Elliot Lee <sopwith@redhat.com>.
|
||||||
|
|
||||||
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
||||||
|
|
||||||
* gutils.c (g_get_any_init): All gtk apps were broken
|
* gutils.c (g_get_any_init): All gtk apps were broken
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 16:16:01 EST 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
|
* gutils.c (g_get_any_init):
|
||||||
|
Revert previous patch, move error value set line down to proper
|
||||||
|
place. Caught by Elliot Lee <sopwith@redhat.com>.
|
||||||
|
|
||||||
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
||||||
|
|
||||||
* gutils.c (g_get_any_init): All gtk apps were broken
|
* gutils.c (g_get_any_init): All gtk apps were broken
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 16:16:01 EST 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
|
* gutils.c (g_get_any_init):
|
||||||
|
Revert previous patch, move error value set line down to proper
|
||||||
|
place. Caught by Elliot Lee <sopwith@redhat.com>.
|
||||||
|
|
||||||
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
||||||
|
|
||||||
* gutils.c (g_get_any_init): All gtk apps were broken
|
* gutils.c (g_get_any_init): All gtk apps were broken
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 16:16:01 EST 1999 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
|
* gutils.c (g_get_any_init):
|
||||||
|
Revert previous patch, move error value set line down to proper
|
||||||
|
place. Caught by Elliot Lee <sopwith@redhat.com>.
|
||||||
|
|
||||||
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
Wed Jan 20 20:48:58 GMT 1999 Adam D. Moss <adam@gimp.org>
|
||||||
|
|
||||||
* gutils.c (g_get_any_init): All gtk apps were broken
|
* gutils.c (g_get_any_init): All gtk apps were broken
|
||||||
|
@ -452,10 +452,10 @@ g_get_any_init (void)
|
|||||||
pw = getpwuid_r (getuid (), &pwd, buffer, bufsize);
|
pw = getpwuid_r (getuid (), &pwd, buffer, bufsize);
|
||||||
if (pw)
|
if (pw)
|
||||||
break;
|
break;
|
||||||
error = errno;
|
|
||||||
# endif /* HAVE_GETPWUID_R_POSIX */
|
# endif /* HAVE_GETPWUID_R_POSIX */
|
||||||
|
error = errno;
|
||||||
if (error != ERANGE)
|
if (error != ERANGE)
|
||||||
g_warning( "Could not read account information: %s",
|
g_error ("Could not read account information: %s",
|
||||||
g_strerror (error));
|
g_strerror (error));
|
||||||
bufsize *= 2;
|
bufsize *= 2;
|
||||||
}
|
}
|
||||||
|
4
gutils.c
4
gutils.c
@ -452,10 +452,10 @@ g_get_any_init (void)
|
|||||||
pw = getpwuid_r (getuid (), &pwd, buffer, bufsize);
|
pw = getpwuid_r (getuid (), &pwd, buffer, bufsize);
|
||||||
if (pw)
|
if (pw)
|
||||||
break;
|
break;
|
||||||
error = errno;
|
|
||||||
# endif /* HAVE_GETPWUID_R_POSIX */
|
# endif /* HAVE_GETPWUID_R_POSIX */
|
||||||
|
error = errno;
|
||||||
if (error != ERANGE)
|
if (error != ERANGE)
|
||||||
g_warning( "Could not read account information: %s",
|
g_error ("Could not read account information: %s",
|
||||||
g_strerror (error));
|
g_strerror (error));
|
||||||
bufsize *= 2;
|
bufsize *= 2;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user