diff options
author | Christopher Faylor <me@cgf.cx> | 2001-11-05 06:09:15 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-11-05 06:09:15 +0000 |
commit | 9c510edc61bef580f66590d0932a64873307e1c5 (patch) | |
tree | dca774d4fabdf48d9098f7691beb1178c12aab0b /winsup/cygwin/pwdgrp.h | |
parent | a9ae96dde4c22f69c06f2c7b0ace0b0ad07ee0e5 (diff) | |
download | newlib-9c510edc61bef580f66590d0932a64873307e1c5.zip newlib-9c510edc61bef580f66590d0932a64873307e1c5.tar.gz newlib-9c510edc61bef580f66590d0932a64873307e1c5.tar.bz2 |
Eliminate excess whitespace.
Diffstat (limited to 'winsup/cygwin/pwdgrp.h')
-rw-r--r-- | winsup/cygwin/pwdgrp.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/winsup/cygwin/pwdgrp.h b/winsup/cygwin/pwdgrp.h index 38a7c80..568259d 100644 --- a/winsup/cygwin/pwdgrp.h +++ b/winsup/cygwin/pwdgrp.h @@ -27,17 +27,17 @@ public: operator pwdgrp_state () { if (state != uninitialized && file_w32[0] && cygheap->etc_changed ()) - { - HANDLE h; - WIN32_FIND_DATA data; - - if ((h = FindFirstFile (file_w32, &data)) != INVALID_HANDLE_VALUE) - { - if (CompareFileTime (&data.ftLastWriteTime, &last_modified) > 0) - state = uninitialized; - FindClose (h); - } - } + { + HANDLE h; + WIN32_FIND_DATA data; + + if ((h = FindFirstFile (file_w32, &data)) != INVALID_HANDLE_VALUE) + { + if (CompareFileTime (&data.ftLastWriteTime, &last_modified) > 0) + state = uninitialized; + FindClose (h); + } + } return state; } void operator = (pwdgrp_state nstate) @@ -47,7 +47,7 @@ public: void set_last_modified (FILE *f) { if (!file_w32[0]) - strcpy (file_w32, cygheap->fdtab[fileno (f)]->get_win32_name ()); + strcpy (file_w32, cygheap->fdtab[fileno (f)]->get_win32_name ()); GetFileTime (cygheap->fdtab[fileno (f)]->get_handle (), NULL, NULL, &last_modified); |