Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-05-28 19:50:14 +0400
committerChristopher Faylor <me@cgf.cx>2006-05-28 19:50:14 +0400
commit34f5d0879c2122899bb24c40691f06a8388ac623 (patch)
tree67d7d29711bde7049cb0cdc5e5fa68079c5de371 /winsup/cygwin/dir.cc
parent29d1e62ed2b11f99c3169d65608478941c5c7cc4 (diff)
white space
Diffstat (limited to 'winsup/cygwin/dir.cc')
-rw-r--r--winsup/cygwin/dir.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc
index c40401258..3c94b8c88 100644
--- a/winsup/cygwin/dir.cc
+++ b/winsup/cygwin/dir.cc
@@ -119,13 +119,13 @@ readdir_worker (DIR *dir, dirent *de)
else if (de->d_name[1] == '.' && de->d_name[2] == '\0')
is_dot_dot = true;
}
-
+
if (is_dot_dot && !(dir->__flags & dirent_isroot))
de->d_ino = readdir_get_ino (dir,
((fhandler_base *) dir->__fh)->get_name (),
true);
else
- {
+ {
/* Compute d_ino by combining filename hash with directory hash. */
de->d_ino = ((fhandler_base *) dir->__fh)->get_namehash ();
if (!is_dot && !is_dot_dot)
@@ -134,7 +134,7 @@ readdir_worker (DIR *dir, dirent *de)
DWORD devn = ((fhandler_base *) dir->__fh)->get_device ();
/* Paths below /proc don't have a Win32 pendant. */
if (devn == FH_PROC || devn == FH_PROCESS || devn == FH_REGISTRY)
- de->d_ino = hash_path_name (de->d_ino, "/");
+ de->d_ino = hash_path_name (de->d_ino, "/");
/* A drive's root dir has a trailing backslash already. */
else if (w32name[1] != ':' || w32name[2] != '\\' || w32name[3])
de->d_ino = hash_path_name (de->d_ino, "\\");