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.15-362-g5f0bdb1
- From: davem at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 13 Mar 2012 07:44:43 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-362-g5f0bdb1
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 5f0bdb18942a9749303ebb17ac8d080872557974 (commit)
from 09a3453f637006538b45f9da69d1895d26a15473 (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=5f0bdb18942a9749303ebb17ac8d080872557974
commit 5f0bdb18942a9749303ebb17ac8d080872557974
Author: David S. Miller <davem@davemloft.net>
Date: Tue Mar 13 00:43:20 2012 -0700
Fix warning in Linux openat implementation when __ASSUME_ATFCTS is set.
* sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
'err' in the ifdef scope in which it is actually used.
diff --git a/ChangeLog b/ChangeLog
index dc93fce..906df52 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2012-03-13 David S. Miller <davem@davemloft.net>
+ * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
+ 'err' in the ifdef scope in which it is actually used.
+
* nss/nss_db/db-init.c: Include string.h
2012-03-12 David S. Miller <davem@davemloft.net>
diff --git a/sysdeps/unix/sysv/linux/openat.c b/sysdeps/unix/sysv/linux/openat.c
index 11e673f..62ea1e3 100644
--- a/sysdeps/unix/sysv/linux/openat.c
+++ b/sysdeps/unix/sysv/linux/openat.c
@@ -84,7 +84,6 @@ OPENAT_NOT_CANCEL (fd, file, oflag, mode)
oflag |= MORE_OFLAGS;
#endif
- INTERNAL_SYSCALL_DECL (err);
int res;
#ifdef __NR_openat
@@ -104,6 +103,7 @@ OPENAT_NOT_CANCEL (fd, file, oflag, mode)
#endif
#ifndef __ASSUME_ATFCTS
+ INTERNAL_SYSCALL_DECL (err);
char *buf = NULL;
if (fd != AT_FDCWD && file[0] != '/')
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 3 +++
sysdeps/unix/sysv/linux/openat.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources