From 8145a97443a708443ed2c39e80e681a5c5354e92 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 19 Oct 1996 23:33:00 +0000 Subject: update from main archive 961019 Sat Oct 19 17:42:24 1996 Ulrich Drepper * intl/locale.alias: Language for entry `czech' is `cs'. Fri Oct 17 13:20:35 1996 Thorsten Kukuk * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3. Fri Oct 18 22:56:45 1996 Ulrich Drepper * sunrpc/Makefile (install-sbin): Remove portmap. This version is buggy and more competent people work on a usable version which is distributed separately. * sunrpc/portmap.c: Removed. Suggested by Thorsten Kukuk. Fri Oct 18 12:17:09 1996 Enrique Melero * sysdeps/libm-ieee754/s_finitel.c: Change function name to `finitel'. Fri Oct 18 00:01:10 1996 Ulrich Drepper * string/Makefile (tests): Add stratcliff. * string/stratcliff.c: New file. Test for string function at the edge of the usable memory. Thu Oct 17 22:10:19 1996 Ulrich Drepper * Makerules ($(libdir)/libc.so): Fix typo. * elf/ldd.sh.in: Test whether given file really exist and give better message if it is not available. Thu Oct 17 04:25:38 1996 Ulrich Drepper * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for SHM_R and SHM_W. * locale/programs/localedef.c (main): Test with -1 to find out --- sysdeps/unix/sysv/linux/sys/shm_buf.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'sysdeps/unix/sysv/linux/sys/shm_buf.h') diff --git a/sysdeps/unix/sysv/linux/sys/shm_buf.h b/sysdeps/unix/sysv/linux/sys/shm_buf.h index 048aa64dc2..16cc0c5bb4 100644 --- a/sysdeps/unix/sysv/linux/sys/shm_buf.h +++ b/sysdeps/unix/sysv/linux/sys/shm_buf.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -23,6 +23,10 @@ Boston, MA 02111-1307, USA. */ #include #include +/* Permission flag for shmget. */ +#define SHM_R 0400 /* or S_IRUGO from */ +#define SHM_W 0200 /* or S_IWUGO from */ + /* Flags for `shmat'. */ #define SHM_RDONLY 010000 /* attach read-only else read-write */ #define SHM_RND 020000 /* round attach address to SHMLBA */ @@ -62,11 +66,11 @@ struct shmid_ds #define SHM_LOCKED 02000 /* segment will not be swapped */ struct shminfo { - int shmmax; - int shmmin; - int shmmni; - int shmseg; - int shmall; + int shmmax; + int shmmin; + int shmmni; + int shmseg; + int shmall; }; struct shm_info { -- cgit v1.2.3