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/gdmcomm.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/gdmcomm.c')
-rw-r--r-- | gui/gdmcomm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/gdmcomm.c b/gui/gdmcomm.c index 235241cb..b8ace9ab 100644 --- a/gui/gdmcomm.c +++ b/gui/gdmcomm.c @@ -429,10 +429,10 @@ gdmcomm_check (gboolean show_dialog) return FALSE; } - VE_IGNORE_EINTR (statret = stat (GDM_SUP_SOCKET, &s)); + VE_IGNORE_EINTR (statret = g_stat (GDM_SUP_SOCKET, &s)); if (statret < 0 || s.st_uid != 0 || - access (GDM_SUP_SOCKET, R_OK|W_OK) != 0) { + g_access (GDM_SUP_SOCKET, R_OK|W_OK) != 0) { if (show_dialog) { dialog = ve_hig_dialog_new (NULL /* parent */, |