]> sourceware.org Git - glibc.git/commitdiff
Define __have_atfcts global in stub openat implementation.
authorRoland McGrath <roland@hack.frob.com>
Mon, 1 Oct 2012 20:07:58 +0000 (13:07 -0700)
committerRoland McGrath <roland@hack.frob.com>
Mon, 1 Oct 2012 20:07:58 +0000 (13:07 -0700)
ChangeLog
io/openat.c

index da457621378d12fbef9c65f7bde804897214765e..b1ec572709f05fd84d51d3bf63774f3223b1f017 100644 (file)
--- 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.
index 92a5769e96f19c35bd080474fd60e5a4898c2f22..b496539361d928be5d0d42f4a91022a54fd898b9 100644 (file)
@@ -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
 #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
This page took 0.113108 seconds and 5 git commands to generate.