Procházet zdrojové kódy

* fixed wifexited and wstopsig

Jonas Maebe před 20 roky
rodič
revize
1ec1e7f2f8
1 změnil soubory, kde provedl 6 přidání a 3 odebrání
  1. 6 3
      rtl/bsd/osmacro.inc

+ 6 - 3
rtl/bsd/osmacro.inc

@@ -67,12 +67,12 @@ end;
 
 function wexitstatus(status : cint): cint;
 begin
- wexitstatus:=(status and 127) shr 8;
+ wexitstatus:=status shr 8;
 end;
 
 function wstopsig(status : cint): cint;
 begin
- wstopsig:=(status and 127) shr 8;
+ wstopsig:=status shr 8;
 end;
 
 const wstopped=127;
@@ -90,7 +90,10 @@ end;
 
 {
   $Log$
-  Revision 1.2  2005-02-14 17:13:21  peter
+  Revision 1.3  2005-02-15 22:27:45  jonas
+    * fixed wifexited and wstopsig
+
+  Revision 1.2  2005/02/14 17:13:21  peter
     * truncate log
 
   Revision 1.1  2005/02/13 21:47:56  peter