diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | daemon/gdm-daemon-config.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2009-01-06 Brian Cameron <brian.cameron@sun.com> + * daemon/gdm-daemon-config.c: Set PRIO_MIN and PRIO_MAX to the + correct values on Solaris. + +2009-01-06 Brian Cameron <brian.cameron@sun.com> + * daemon/gdm.c, daemon/auth.c, daemon/misc.c: Use g_remove instead of g_unlink when removing directories, it is safer. diff --git a/daemon/gdm-daemon-config.c b/daemon/gdm-daemon-config.c index dbcd5d40..ef0391bb 100644 --- a/daemon/gdm-daemon-config.c +++ b/daemon/gdm-daemon-config.c @@ -1053,10 +1053,10 @@ gdm_daemon_config_get_xservers (void) /* PRIO_MIN and PRIO_MAX are not defined on Solaris, but are -20 and 20 */ #if __sun #ifndef PRIO_MIN -#define PRIO_MIN -20 +#define PRIO_MIN 0 #endif #ifndef PRIO_MAX -#define PRIO_MAX 20 +#define PRIO_MAX (NZERO*2)-1 #endif #endif |