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:
Diffstat (limited to 'winsup/cygwin/fhandler_process.cc')
-rw-r--r--winsup/cygwin/fhandler_process.cc8
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)