]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2002-03-23 Roland McGrath <roland@frob.com>
authorRoland McGrath <roland@gnu.org>
Sun, 24 Mar 2002 02:07:34 +0000 (02:07 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 24 Mar 2002 02:07:34 +0000 (02:07 +0000)
* sysdeps/posix/shm_open.c (SHMDIR): /var/run/shm -> /dev/shm
* sysdeps/posix/shm_unlink.c: Likewise.

sysdeps/posix/shm_open.c
sysdeps/posix/shm_unlink.c

index eab5ee342e1cc6c99f7a8183ad8b02506196704b..b773d40db03587e2de1054ac45fa1af143b79137 100644 (file)
@@ -1,5 +1,5 @@
 /* shm_open -- open a POSIX shared memory object.  Generic POSIX file version.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001,02 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -31,7 +31,7 @@
 #include <stdlib.h>
 #include <paths.h>
 
-#define SHMDIR (_PATH_VARRUN "shm/")
+#define SHMDIR (_PATH_DEV "shm/")
 
 /* Open shared memory object.  */
 int
index 79f6751ebd74201f67f915cb0485dad2e968152e..b67240f8386cb6df1d632325a3714d60e57b6fc5 100644 (file)
@@ -1,5 +1,5 @@
 /* shm_unlink -- remove a POSIX shared memory object.  Generic POSIX version.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001,02 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -30,7 +30,7 @@
 #include <stdlib.h>
 #include <paths.h>
 
-#define SHMDIR (_PATH_VARRUN "shm/")
+#define SHMDIR (_PATH_DEV "shm/")
 
 /* Remove shared memory object.  */
 int
@@ -55,7 +55,6 @@ shm_unlink (const char *name)
   __mempcpy (__mempcpy (fname, SHMDIR, sizeof SHMDIR - 1),
             name, namelen + 1);
 
-
   return unlink (name);
 }