diff options
author | Brian Cameron <brian.cameron@sun.com> | 2009-01-06 14:45:50 +0000 |
---|---|---|
committer | Brian Cameron <bcameron@src.gnome.org> | 2009-01-06 14:45:50 +0000 |
commit | b63c218120fdf6f7a455270473c04267106bcc99 (patch) | |
tree | 8a7ce70a9dfb3e04a6fddbc765fe852c20d032f3 | |
parent | 62e934ca5444333f2da25aae4b3ee7a5e0517709 (diff) | |
download | gdm-b63c218120fdf6f7a455270473c04267106bcc99.tar.gz |
Set PRIO_MIN and PRIO_MAX to the correct values on Solaris.
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.
svn path=/branches/gnome-2-20/; revision=6654
-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 |