]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_CLOEXEC): Define.
authorUlrich Drepper <drepper@redhat.com>
Fri, 10 Aug 2007 01:45:08 +0000 (01:45 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 10 Aug 2007 01:45:08 +0000 (01:45 +0000)
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_CLOEXEC): Likewise.

ChangeLog
posix/sched.h
sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
sysdeps/unix/sysv/linux/sparc/bits/fcntl.h

index fca6c7d280c53895b2d4be07ba1052292cd37f63..d94d77f2a7effce1fe8d7b6d4a758e4b6d35386d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-08-09  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_CLOEXEC): Define.
+       * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_CLOEXEC): Likewise.
+
        * po/sv.po: Update from translation team.
 
 2007-08-06  Roland McGrath  <roland@redhat.com>
index c9a0840f7f4914503f0f5410d26fa017cf8d02af..e95c80f5627f72b9f1f6b7e599660336cbc77a62 100644 (file)
@@ -103,7 +103,7 @@ extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __THROW;
 
 # define CPU_ALLOC_SIZE(count) __CPU_ALLOC_SIZE (count)
 # define CPU_ALLOC(count) __CPU_ALLOC (count)
-# define CPU_FREE(count) __CPU_FREE (count)
+# define CPU_FREE(cpuset) __CPU_FREE (cpuset)
 
 
 /* Set the CPU affinity for a task */
index f17dc2bdc11d1cfb65588aa9634a45f95bf27afe..b4f49cf633832c3255879d52064c448bbf183943 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux.
-   Copyright (C) 1995-2000, 2004, 2005, 2006 Free Software Foundation, Inc.
+   Copyright (C) 1995-2000,2004,2005,2006,2007 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
@@ -50,6 +50,7 @@
 # define O_NOFOLLOW    0200000 /* Do not follow links.  */
 # define O_DIRECT      02000000 /* Direct disk access.  */
 # define O_NOATIME     04000000 /* Do not set atime.  */
+# define O_CLOEXEC      010000000 /* Set close_on_exec.  */
 #endif
 
 #ifdef __USE_LARGEFILE64
index d68bfeb0ef962b8cda548bda173438cf6d7b23dc..2307a2353d368721d98e6e9373bdf2ef17699379 100644 (file)
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux/SPARC.
-   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004, 2006
+   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004, 2006, 2007
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -49,6 +49,7 @@
 # define O_NOFOLLOW    0x20000 /* don't follow links */
 # define O_DIRECT      0x100000 /* direct disk access hint */
 # define O_NOATIME     0x200000 /* Do not set atime.  */
+# define O_CLOEXEC     0x400000 /* Set close_on_exit.  */
 #endif
 
 #ifdef __USE_LARGEFILE64