From 74da141e618ef99959d509cb2e7be35a348a39db Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Wed, 7 Apr 2010 21:11:46 -0400 Subject: Sync with the latest Gnulib code (177f525) Signed-off-by: Thomas Guyot-Sionnest --- gl/fcntl--.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gl/fcntl--.h') diff --git a/gl/fcntl--.h b/gl/fcntl--.h index 5a6a8792..7baa2cbc 100644 --- a/gl/fcntl--.h +++ b/gl/fcntl--.h @@ -1,6 +1,6 @@ /* Like fcntl.h, but redefine some names to avoid glitches. - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2009-2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,3 +25,8 @@ #undef creat #define creat creat_safer + +#if GNULIB_OPENAT_SAFER +# undef openat +# define openat openat_safer +#endif -- cgit v1.2.3-74-g34f1