gdm r6654 - in branches/gnome-2-20: . daemon



Author: bcameron
Date: Tue Jan  6 14:45:50 2009
New Revision: 6654
URL: http://svn.gnome.org/viewvc/gdm?rev=6654&view=rev

Log:
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.


Modified:
   branches/gnome-2-20/ChangeLog
   branches/gnome-2-20/daemon/gdm-daemon-config.c

Modified: branches/gnome-2-20/daemon/gdm-daemon-config.c
==============================================================================
--- branches/gnome-2-20/daemon/gdm-daemon-config.c	(original)
+++ branches/gnome-2-20/daemon/gdm-daemon-config.c	Tue Jan  6 14:45:50 2009
@@ -1053,10 +1053,10 @@
 /* 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
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]