diff lib/fstatat.c @ 12421:e8d2c6fc33ad

Use spaces for indentation, not tabs.
author Bruno Haible <bruno@clisp.org>
date Thu, 10 Dec 2009 20:28:30 +0100 (2009-12-10)
parents fb58acddad72
children c2cbabec01dd
line wrap: on
line diff
--- a/lib/fstatat.c
+++ b/lib/fstatat.c
@@ -48,12 +48,12 @@
     {
       /* Fix lstat behavior.  */
       if (file[len - 1] != '/' || S_ISDIR (st->st_mode))
-	return 0;
+        return 0;
       if (!S_ISLNK (st->st_mode))
-	{
-	  errno = ENOTDIR;
-	  return -1;
-	}
+        {
+          errno = ENOTDIR;
+          return -1;
+        }
       result = fstatat (fd, file, st, flag & ~AT_SYMLINK_NOFOLLOW);
     }
   /* Fix stat behavior.  */