Pārlūkot izejas kodu

* the libc unit might be deprecated, but it's no reason for wrong declarations, in this case values that should be declared as octal but were declared as decimal with the same literal text

Sven/Sarah Barth 3 gadi atpakaļ
vecāks
revīzija
b876a02daf
1 mainītis faili ar 7 papildinājumiem un 7 dzēšanām
  1. 7 7
      packages/libc/src/bshmh.inc

+ 7 - 7
packages/libc/src/bshmh.inc

@@ -1,10 +1,10 @@
 
 const
-   SHM_R = 0400;
-   SHM_W = 0200;
-   SHM_RDONLY = 010000;
-   SHM_RND = 020000;
-   SHM_REMAP = 040000;
+   SHM_R = &400;
+   SHM_W = &200;
+   SHM_RDONLY = &10000;
+   SHM_RND = &20000;
+   SHM_REMAP = &40000;
    SHM_LOCK = 11;
    SHM_UNLOCK = 12;
 
@@ -32,8 +32,8 @@ type
 const
    SHM_STAT = 13;
    SHM_INFO = 14;
-   SHM_DEST = 01000;
-   SHM_LOCKED = 02000;
+   SHM_DEST = &1000;
+   SHM_LOCKED = &2000;
 
 type
    Pshminfo = ^shminfo;