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>2011-05-02 19:28:35 +0400
committerChristopher Faylor <me@cgf.cx>2011-05-02 19:28:35 +0400
commit8978381c2a9661e373e9f4f7a7776ceefb016380 (patch)
treea0a845c18f581d856e22736f707299276785dfec /winsup/cygwin/mount.cc
parent138f3e0cbdd1f2574963c2134f894a241fd1f348 (diff)
Eliminate trailing whitespace in some files.
* dll_init.cc (dll_list::alloc): Reset 'p' in forked process. * select.cc (select_stuff::wait): Move cleanup() closer to WFMO to minimize unavoidable (?) race.
Diffstat (limited to 'winsup/cygwin/mount.cc')
-rw-r--r--winsup/cygwin/mount.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc
index 79ab59c2c..e224211b4 100644
--- a/winsup/cygwin/mount.cc
+++ b/winsup/cygwin/mount.cc
@@ -131,7 +131,7 @@ fs_info_cache::genhash (PFILE_FS_VOLUME_INFORMATION pffvi)
{
uint32_t hash = 0;
const uint16_t *p = (const uint16_t *) pffvi;
- const uint16_t *end = (const uint16_t *)
+ const uint16_t *end = (const uint16_t *)
((const uint8_t *) p + sizeof *pffvi
+ pffvi->VolumeLabelLength - sizeof (WCHAR));
pffvi->__dummy = 0; /* This member can have random values! */
@@ -378,7 +378,7 @@ fs_info::update (PUNICODE_STRING upath, HANDLE in_vol)
any remote CIFS. */
has_buggy_fileid_dirinfo (is_cifs () || is_unixfs ());
/* NWFS is known to have a broken FileBasicInformation info class.
- It can't be used to fetch information, only to set information.
+ It can't be used to fetch information, only to set information.
Therefore, for NWFS we have to fallback to the
FileNetworkOpenInformation info class. Unfortunately we can't
use FileNetworkOpenInformation all the time since that fails on
@@ -1055,7 +1055,7 @@ fstab_read_flags (char **options, unsigned &flags, bool external)
*p++ = '\0';
else
p = strchr (*options, '\0');
-
+
key.name = *options;
opt *o = (opt *) bsearch (&key, oopts,
sizeof oopts / sizeof (opt),