From: Paul Eggert Date: Sun, 3 Jul 2005 09:28:17 +0000 (+0000) Subject: New file, from gnulib. X-Git-Tag: CPPI-1_12~359 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e3f2ac8a0f5f7ed3e362bf0c18950b932d9239a0;p=thirdparty%2Fcoreutils.git New file, from gnulib. --- diff --git a/lib/lstat.h b/lib/lstat.h new file mode 100644 index 0000000000..6a83fbf8fe --- /dev/null +++ b/lib/lstat.h @@ -0,0 +1,24 @@ +/* Retrieving information about files. + Copyright (C) 2005 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 + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include + +#if !LSTAT_FOLLOWS_SLASHED_SYMLINK +extern int rpl_lstat (const char *name, struct stat *buf); +# undef lstat +# define lstat rpl_lstat +#endif