projects
/
debian
/
gzip
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.4
[debian/gzip]
/
lib
/
open-safer.c
diff --git
a/lib/open-safer.c
b/lib/open-safer.c
index 48d558fa5758f314b0fa74056a9957d6df36ad6d..3b36471f2373bb47973c280915769af4ee5b5071 100644
(file)
--- a/
lib/open-safer.c
+++ b/
lib/open-safer.c
@@
-1,6
+1,6
@@
/* Invoke open, but avoid some glitches.
/* Invoke open, but avoid some glitches.
- Copyright (C) 2005
, 2006, 2008-2009
Free Software Foundation, Inc.
+ Copyright (C) 2005
-2006, 2008-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
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
@@
-36,7
+36,7
@@
open_safer (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);