OSDN Git Service

* include/cygwin/ipc.h (IPC_KEY_IS_SHMID): Redefine to a more sensible
authorcorinna <corinna>
Thu, 3 Jun 2004 19:51:10 +0000 (19:51 +0000)
committercorinna <corinna>
Thu, 3 Jun 2004 19:51:10 +0000 (19:51 +0000)
value.

winsup/cygwin/ChangeLog
winsup/cygwin/include/cygwin/ipc.h

index 11b948c..7667b08 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-03  Corinna Vinschen  <corinna@vinschen.de>
+
+       * include/cygwin/ipc.h (IPC_KEY_IS_SHMID): Redefine to a more sensible
+       value.
+
 2004-06-02  Christopher Faylor  <cgf@alum.bu.edu>
 
        * cygheap.cc (cmalloc): Add debugging hook.
index d0f5bea..7b04653 100644 (file)
@@ -32,12 +32,12 @@ struct ipc_perm
 
 /* Mode bits:
  */
-#ifdef _KERNEL
-#define IPC_KEY_IS_SHMID 0x0100        /* Used in shmget when called from shmat. */
-#endif
 #define IPC_CREAT  0x0200      /* Create entry if key does not exist. */
 #define IPC_EXCL   0x0400      /* Fail if key exists. */
 #define IPC_NOWAIT 0x0800      /* Error if request must wait. */
+#ifdef _KERNEL
+#define IPC_KEY_IS_SHMID 0x1000        /* Used in shmget when called from shmat. */
+#endif
 
 /* Keys:
  */