This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, ibm/2.13/master, updated. glibc-2.13-46-gefd3eaa


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, ibm/2.13/master has been updated
       via  efd3eaa05597e9d602cb5348e4fdc74037efa229 (commit)
       via  af4c0b6afa7aa237fd66fd62bd3f105db1169482 (commit)
      from  b2b4f0081c799b64eaad99616f55bd1759550d02 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=efd3eaa05597e9d602cb5348e4fdc74037efa229

commit efd3eaa05597e9d602cb5348e4fdc74037efa229
Merge: b2b4f00 af4c0b6
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Date:   Wed Jan 11 12:16:27 2012 -0600

    Merge Adhemerval Zanella's pipe2 fix into ibm/2.13/master


http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=af4c0b6afa7aa237fd66fd62bd3f105db1169482

commit af4c0b6afa7aa237fd66fd62bd3f105db1169482
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Date:   Fri Dec 30 13:10:08 2011 -0500

    Added __have_pipe2

diff --git a/include/unistd.h b/include/unistd.h
index 0ad2983..6b7aa79 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -171,10 +171,7 @@ extern int __libc_pause (void);
 extern int __pause_nocancel (void) attribute_hidden;
 
 extern int __have_sock_cloexec;
-/* At lot of other functionality became available at the same time as
-   SOCK_CLOEXEC.  Avoid defining separate variables for all of them
-   unless it is really necessary.  */
-#define __have_pipe2 __have_sock_cloexec
+extern int __have_pipe2;
 
 extern int __getlogin_r_loginuid (char *name, size_t namesize)
      attribute_hidden;
diff --git a/io/Makefile b/io/Makefile
index caaa51b..de33202 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -54,7 +54,7 @@ routines :=								\
 	sendfile sendfile64 \
 	utimensat futimens
 
-aux := have_o_cloexec
+aux := have_o_cloexec have_pipe2
 
 # These routines will be omitted from the libc shared object.
 # Instead the static object files will be included in a special archive
diff --git a/io/have_pipe2.c b/io/have_pipe2.c
new file mode 100644
index 0000000..f08efa8
--- /dev/null
+++ b/io/have_pipe2.c
@@ -0,0 +1,24 @@
+/* Copyright (C) 2011 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
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <unistd.h>
+#include <kernel-features.h>
+
+#ifndef __ASSUME_PIPE2
+int __have_pipe2;
+#endif

-----------------------------------------------------------------------

Summary of changes:
 include/unistd.h                   |    5 +----
 io/Makefile                        |    2 +-
 posix/setpgrp.c => io/have_pipe2.c |   11 +++++------
 3 files changed, 7 insertions(+), 11 deletions(-)
 copy posix/setpgrp.c => io/have_pipe2.c (86%)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]