From 05726ddd86c1421add510d5e8395cf7e3ac378f3 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 2 May 2005 03:50:11 +0000 Subject: white space and minor comment cleanup. --- winsup/cygwin/fhandler_process.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'winsup/cygwin/fhandler_process.cc') 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) -- cgit v1.2.3