X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fopenat.c;h=9d2f7d49c2946b5d710a9fee85bacbeef973d9bd;hb=1276a2c5f24c0c932426aca9c899fa524d2443f2;hp=354ff806cb8822121e3d9154cea7e2f599ad8bd9;hpb=ff37e81646b996b43d4635ddbb12c4e2654d544b;p=gnulib.git diff --git a/lib/openat.c b/lib/openat.c index 354ff806c..9d2f7d49c 100644 --- a/lib/openat.c +++ b/lib/openat.c @@ -1,5 +1,5 @@ /* provide a replacement openat function - Copyright (C) 2004-2011 Free Software Foundation, Inc. + Copyright (C) 2004-2014 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 @@ -28,7 +28,7 @@ #undef __need_system_fcntl_h #if HAVE_OPENAT -static inline int +static int orig_openat (int fd, char const *filename, int flags, mode_t mode) { return openat (fd, filename, flags, mode); @@ -180,7 +180,7 @@ openat (int fd, char const *file, int flags, ...) directory argument. If a previous attempt to restore the current working directory - failed, then we must not even try to access a `.'-relative name. + failed, then we must not even try to access a '.'-relative name. It is the caller's responsibility not to call this function in that case. */