X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fstat.c;fp=lib%2Fstat.c;h=875317bf52bbb4f3849b349dcae5787188f1a0ea;hb=a2016c1de6e4884f6c8ed5cc498f3bf821c25ca4;hp=8aa770940702e50fd81cbc0fd52e640247a32e8e;hpb=c7e61475680fa226bd9b8bdd469cd66914e630f5;p=debian%2Fgzip diff --git a/lib/stat.c b/lib/stat.c index 8aa7709..875317b 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