projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'logbl'.
[gnulib.git]
/
lib
/
openat-safer.c
diff --git
a/lib/openat-safer.c
b/lib/openat-safer.c
index
f6977fd
..
f6ed93f
100644
(file)
--- a/
lib/openat-safer.c
+++ b/
lib/openat-safer.c
@@
-1,6
+1,6
@@
/* Invoke openat, but avoid some glitches.
/* Invoke openat, but avoid some glitches.
- Copyright (C) 2005
, 2006, 2008-2009
Free Software Foundation, Inc.
+ Copyright (C) 2005
-2006, 2008-2012
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
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
@@
-22,7
+22,6
@@
#include "fcntl-safer.h"
#include <fcntl.h>
#include "fcntl-safer.h"
#include <fcntl.h>
-#include "openat.h" /* FIXME - <fcntl.h> should be sufficient. */
#include <stdarg.h>
#include "unistd-safer.h"
#include <stdarg.h>
#include "unistd-safer.h"
@@
-37,7
+36,7
@@
openat_safer (int fd, char const *file, int flags, ...)
va_start (ap, flags);
/* We have to use PROMOTED_MODE_T instead of mode_t, otherwise GCC 4
va_start (ap, flags);
/* We have to use PROMOTED_MODE_T instead of mode_t, otherwise GCC 4
- creates crashing code when 'mode_t' is smaller than 'int'. */
+
creates crashing code when 'mode_t' is smaller than 'int'. */
mode = va_arg (ap, PROMOTED_MODE_T);
va_end (ap);
mode = va_arg (ap, PROMOTED_MODE_T);
va_end (ap);