mirror of git://sourceware.org/git/glibc.git
Define __have_atfcts global in stub openat implementation.
This commit is contained in:
parent
93c65d4384
commit
497a03d6f1
|
@ -1,5 +1,7 @@
|
||||||
2012-10-01 Roland McGrath <roland@hack.frob.com>
|
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 ...
|
* sysdeps/unix/sysv/linux/init-first.c: Moved to ...
|
||||||
* csu/init-first.c: ... here.
|
* csu/init-first.c: ... here.
|
||||||
* sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
|
* sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
|
||||||
|
|
|
@ -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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -21,6 +21,13 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/stat.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
|
/* Open FILE with access OFLAG. Interpret relative paths relative to
|
||||||
the directory associated with FD. If OFLAG includes O_CREAT, a
|
the directory associated with FD. If OFLAG includes O_CREAT, a
|
||||||
|
|
Loading…
Reference in New Issue