1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

* sysdeps/posix/shm_open.c (SHMDIR): /var/run/shm -> /dev/shm

* sysdeps/posix/shm_unlink.c: Likewise.
This commit is contained in:
Roland McGrath
2002-03-24 02:05:40 +00:00
parent b2b1c59383
commit 4caf4f3c25
3 changed files with 9 additions and 5 deletions

View 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