diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-02 03:50:11 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-02 03:50:11 +0000 |
commit | 05726ddd86c1421add510d5e8395cf7e3ac378f3 (patch) | |
tree | e7a339d3b7773fee264eb134e3acfb1ca87877f2 /winsup/cygwin/fhandler_process.cc | |
parent | b9b1b38358983f564e48ced1a9a599698e1be36f (diff) | |
download | cygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.tar.gz cygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.tar.bz2 cygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.zip |
white space and minor comment cleanup.
Diffstat (limited to 'winsup/cygwin/fhandler_process.cc')
-rw-r--r-- | winsup/cygwin/fhandler_process.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/fhandler_process.cc b/winsup/cygwin/fhandler_process.cc index 180155f32..710c63d5d 100644 --- a/winsup/cygwin/fhandler_process.cc +++ b/winsup/cygwin/fhandler_process.cc @@ -118,11 +118,11 @@ fhandler_process::exists () { fileid = PROCESS_FD; if (fill_filebuf ()) - return -2; + return -2; /* Check for nameless device entries. */ path = strrchr (path, '/'); if (path && *++path) - { + { if (!strncmp (path, "pipe:[", 6)) return -3; else if (!strncmp (path, "socket:[", 8)) @@ -211,7 +211,7 @@ fhandler_process::readdir (DIR * dir) if (fileid == PROCESS_FD) { if (dir->__d_position >= 2 + filesize / sizeof (int)) - return NULL; + return NULL; } else if (dir->__d_position >= PROCESS_LINK_COUNT) return NULL; @@ -414,7 +414,7 @@ fhandler_process::fill_filebuf () case PROCESS_CWD: case PROCESS_CMDLINE: { - if (filebuf) + if (filebuf) free (filebuf); size_t fs; switch (fileid) |