Fix dillo/vncviewer regressions (semaphore bug). thanks to art and
waxdragon for notifying me of the regressions.
Modified: trunk/reactos/ntoskrnl/ex/sem.c
  _____
Modified: trunk/reactos/ntoskrnl/ex/sem.c
--- trunk/reactos/ntoskrnl/ex/sem.c     2005-03-15 23:47:13 UTC (rev
14116)
+++ trunk/reactos/ntoskrnl/ex/sem.c     2005-03-16 03:12:32 UTC (rev
14117)
@@ -95,7 +95,7 @@
     }
     /* Make sure the counts make sense */
-    if (!MaximumCount || !InitialCount || InitialCount > MaximumCount)
{
+    if (!MaximumCount || InitialCount < 0 || InitialCount >
MaximumCount) {
         DPRINT("Invalid Count Data!\n");
         return STATUS_INVALID_PARAMETER;
    
    
    
    
    
 
                    
                    
                        
                        Show replies by date