Imported Upstream version 1.4
[debian/gzip] / lib / stat.c
index 8aa770940702e50fd81cbc0fd52e640247a32e8e..875317bf52bbb4f3849b349dcae5787188f1a0ea 100644 (file)
@@ -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