diff options
author | Brian Cameron <brian.cameron@sun.com> | 2005-12-22 04:50:45 +0000 |
---|---|---|
committer | Brian Cameron <bcameron@src.gnome.org> | 2005-12-22 04:50:45 +0000 |
commit | 2be57792419c16f8468f5edd06443e53643ce98d (patch) | |
tree | f471a0e95100bd825dba2244d60e7a913817d382 /gui/gdmuser.c | |
parent | c9bf94f2cf5d4d57df907371464a925bddb0cfc6 (diff) | |
download | gdm-2be57792419c16f8468f5edd06443e53643ce98d.tar.gz |
Now use g_ stdio function like g_chmod instead of chmod. Fixes bug
2005-12-22 Brian Cameron <brian.cameron@sun.com>
* daemon/auth.c, daemon/display.c, daemon/errorgui.c,
daemon/filecheck.c, daemon/fstype.c, daemon/gdm-net.c,
daemon/gdm.[ch], daemon/gdmconfig.c, daemon/misc.c,
daemon/server.c, daemon/slave.c, daemon/verify-pam.c,
daemon/xdmcp.c, gui/gdmXnestchooser.c, gui/gdmchooser.c,
gui/gdmcommon.c, gui/gdmlogin.c, gui/gdmphotosetup.c,
gui/gdmsetup.c, gui/gdmuser.c, utils/gdmprefetch.c,
vicious-extensions/ve-config.c, vicious-extensions/ve-gnome.c,
vicious-extensions/ve-misc.[ch], vicious-extensions/ve-nongnome.c:
Now use g_ stdio function like g_chmod instead of chmod.
Fixes bug #310229.
Diffstat (limited to 'gui/gdmuser.c')
-rw-r--r-- | gui/gdmuser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/gdmuser.c b/gui/gdmuser.c index ca362d8e..0285c2d8 100644 --- a/gui/gdmuser.c +++ b/gui/gdmuser.c @@ -144,7 +144,7 @@ gdm_user_alloc (const gchar *logname, /* read the "done" bit, but don't check */ read (STDIN_FILENO, buf, sizeof (buf)); - } else if (access (&buf[1], R_OK) == 0) { + } else if (g_access (&buf[1], R_OK) == 0) { img = gdm_common_get_face (&buf[1], NULL, gdm_config_get_int (GDM_KEY_MAX_ICON_WIDTH), |