X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstat.c;h=875317bf52bbb4f3849b349dcae5787188f1a0ea;hb=a2ae92ef0232df237fef9af3e52b52b67d44cb93;hp=8aa770940702e50fd81cbc0fd52e640247a32e8e;hpb=c9d72f69bd201a1ab31464d91f234ea1817fe0e1;p=gnulib.git diff --git a/lib/stat.c b/lib/stat.c index 8aa770940..875317bf5 100644 --- a/lib/stat.c +++ b/lib/stat.c @@ -1,5 +1,5 @@ /* Work around platform bugs in stat. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 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 @@ -55,10 +55,10 @@ rpl_stat (char const *name, struct stat *st) { size_t len = strlen (name); if (ISSLASH (name[len - 1])) - { - errno = ENOTDIR; - return -1; - } + { + errno = ENOTDIR; + return -1; + } } #endif /* REPLACE_FUNC_STAT_FILE */ #if REPLACE_FUNC_STAT_DIR