X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fopenat-safer.c;h=f6ed93f6384a1ab9419e93eb0413d696afd49cfb;hb=bdaf232db994e039e47c1eefb27ff197390ce95e;hp=f6977fd2b5626dfb908c555f4f04d2a73d05645a;hpb=02fd4eb4561842dee666b709fbbb1632c4357d2d;p=gnulib.git diff --git a/lib/openat-safer.c b/lib/openat-safer.c index f6977fd2b..f6ed93f63 100644 --- a/lib/openat-safer.c +++ b/lib/openat-safer.c @@ -1,6 +1,6 @@ /* 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 @@ -22,7 +22,6 @@ #include "fcntl-safer.h" #include -#include "openat.h" /* FIXME - should be sufficient. */ #include #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 - 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);