summaryrefslogtreecommitdiff
path: root/daemon/gdm-server.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <mccann@jhu.edu>2007-08-21 16:10:34 +0000
committerWilliam Jon McCann <mccann@src.gnome.org>2007-08-21 16:10:34 +0000
commitd826466c4231993bc40e430e3828e3cc0e3424e5 (patch)
treeac1b66bded36c49d84c215328c73989c20027de4 /daemon/gdm-server.c
parent9d0888fedf2ee1ff59e5d47789b01d960c7e804c (diff)
downloadgdm-d826466c4231993bc40e430e3828e3cc0e3424e5.tar.gz
Some Solaris build fixes. Patch from Brian Cameron <brian.cameron@sun.com>
2007-08-21 William Jon McCann <mccann@jhu.edu> * acconfig.h: * acinclude.m4: * common/gdm-address.c: * configure.ac: * daemon/Makefile.am: * daemon/factory-slave-main.c: * daemon/gdm-server.c: (server_child_setup): * daemon/main.c: (main): * daemon/product-slave-main.c: * daemon/session-worker-main.c: * daemon/simple-slave-main.c: * daemon/test-session.c: (on_secret_info_query): Some Solaris build fixes. Patch from Brian Cameron <brian.cameron@sun.com> svn path=/branches/mccann-gobject/; revision=5174
Diffstat (limited to 'daemon/gdm-server.c')
-rw-r--r--daemon/gdm-server.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/daemon/gdm-server.c b/daemon/gdm-server.c
index 79874c71..72a3053a 100644
--- a/daemon/gdm-server.c
+++ b/daemon/gdm-server.c
@@ -31,6 +31,7 @@
#include <ctype.h>
#include <pwd.h>
#include <grp.h>
+#include <signal.h>
#include <glib.h>
#include <glib/gi18n.h>
@@ -461,16 +462,6 @@ server_child_setup (GdmServer *server)
setpgid (0, 0);
change_user (server);
-
-#if sun
- {
- /* Remove old communication pipe, if present */
- char old_pipe[MAXPATHLEN];
-
- sprintf (old_pipe, "%s/%d", SDTLOGIN_DIR, server->priv->display_name);
- g_unlink (old_pipe);
- }
-#endif
}
static void