diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-04-07 21:11:46 -0400 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-04-12 21:26:35 -0400 |
commit | 74da141e618ef99959d509cb2e7be35a348a39db (patch) | |
tree | 88ebc38b381a1021fc2d74864a71e230ae591c3d /gl/fcntl--.h | |
parent | c63a4f726a0b6ad8cf6040f947754a81fd4683bb (diff) | |
download | monitoring-plugins-74da141e618ef99959d509cb2e7be35a348a39db.tar.gz |
Sync with the latest Gnulib code (177f525)
Signed-off-by: Thomas Guyot-Sionnest <dermoth@aei.ca>
Diffstat (limited to 'gl/fcntl--.h')
-rw-r--r-- | gl/fcntl--.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 @@ | |||
1 | /* Like fcntl.h, but redefine some names to avoid glitches. | 1 | /* Like fcntl.h, but redefine some names to avoid glitches. |
2 | 2 | ||
3 | Copyright (C) 2005 Free Software Foundation, Inc. | 3 | Copyright (C) 2005, 2009-2010 Free Software Foundation, Inc. |
4 | 4 | ||
5 | This program is free software: you can redistribute it and/or modify | 5 | This program is free software: you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
@@ -25,3 +25,8 @@ | |||
25 | 25 | ||
26 | #undef creat | 26 | #undef creat |
27 | #define creat creat_safer | 27 | #define creat creat_safer |
28 | |||
29 | #if GNULIB_OPENAT_SAFER | ||
30 | # undef openat | ||
31 | # define openat openat_safer | ||
32 | #endif | ||