From 8581e92c5164652905aaefa6e988fdd7102542af Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 7 Jul 2007 16:46:35 +0000 Subject: * fhandler_disk_file.cc: White space. * fhandler_proc.cc: Ditto. * fhandler_virtual.cc: Ditto. --- winsup/cygwin/fhandler_disk_file.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'winsup/cygwin/fhandler_disk_file.cc') diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc index 965495742..a4fe0b325 100644 --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -558,8 +558,8 @@ fhandler_disk_file::fstatvfs (struct statvfs *sfs) query_open (query_read_control); oret = open_fs (O_RDONLY | O_BINARY, 0); if (!oret) - { - /* Can't open file. Try again with rootdir. */ + { + /* Can't open file. Try again with rootdir. */ char root[CYG_MAX_PATH]; if (!rootdir (get_win32_name (), root)) goto out; @@ -595,7 +595,7 @@ fhandler_disk_file::fstatvfs (struct statvfs *sfs) first, which is only available since W2K. If that fails, try to retrieve normal allocation information. */ status = NtQueryVolumeInformationFile (get_handle (), &io, &full_fsi, - sizeof full_fsi, + sizeof full_fsi, FileFsFullSizeInformation); if (NT_SUCCESS (status)) { @@ -605,7 +605,7 @@ fhandler_disk_file::fstatvfs (struct statvfs *sfs) sfs->f_bfree = full_fsi.ActualAvailableAllocationUnits.LowPart; sfs->f_bavail = full_fsi.CallerAvailableAllocationUnits.LowPart; if (sfs->f_bfree > sfs->f_bavail) - { + { /* Quotas active. We can't trust TotalAllocationUnits. */ NTFS_VOLUME_DATA_BUFFER nvdb; DWORD bytes; @@ -1586,7 +1586,7 @@ fhandler_disk_file::opendir (int fd) else { /* opendir() case. Initialize with given directory name and - NULL directory handle. */ + NULL directory handle. */ pc.get_nt_native_path (upath); InitializeObjectAttributes (&attr, &upath, OBJ_CASE_INSENSITIVE | OBJ_INHERIT, @@ -1620,12 +1620,12 @@ fhandler_disk_file::opendir (int fd) } } if (fd >= 0) - { + { dir->__flags |= dirent_valid_fd; dir->__d_fd = fd; } else - { + { /* Filling cfd with `this' (aka storing this in the file descriptor table should only happen after it's clear that opendir doesn't fail, otherwise we end up cfree'ing the -- cgit v1.2.3