This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.16-ports-merge-413-g497a03d
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 1 Oct 2012 20:51:02 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.16-ports-merge-413-g497a03d
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, master has been updated
via 497a03d6f1b8baaba981e80041e96cf31b82c8fe (commit)
from 93c65d438497842a42fe4f6a8af272d20a143025 (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=497a03d6f1b8baaba981e80041e96cf31b82c8fe
commit 497a03d6f1b8baaba981e80041e96cf31b82c8fe
Author: Roland McGrath <roland@hack.frob.com>
Date: Mon Oct 1 13:07:58 2012 -0700
Define __have_atfcts global in stub openat implementation.
diff --git a/ChangeLog b/ChangeLog
index da45762..b1ec572 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2012-10-01 Roland McGrath <roland@hack.frob.com>
+ * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
+
* sysdeps/unix/sysv/linux/init-first.c: Moved to ...
* csu/init-first.c: ... here.
* sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
diff --git a/io/openat.c b/io/openat.c
index 92a5769..b496539 100644
--- a/io/openat.c
+++ b/io/openat.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 2005-2012 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
@@ -21,6 +21,13 @@
#include <stddef.h>
#include <stdio.h>
#include <sys/stat.h>
+#include <kernel-features.h>
+
+/* Some mostly-generic code (e.g. sysdeps/posix/getcwd.c) uses this variable
+ if __ASSUME_ATFCTS is not defined. */
+#ifndef __ASSUME_ATFCTS
+int __have_atfcts;
+#endif
/* Open FILE with access OFLAG. Interpret relative paths relative to
the directory associated with FD. If OFLAG includes O_CREAT, a
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 2 ++
io/openat.c | 9 ++++++++-
2 files changed, 10 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources