summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_raw.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-05-28 19:50:07 +0000
committerChristopher Faylor <me@cgf.cx>2004-05-28 19:50:07 +0000
commite3778517d9c6409c9c917db83ccac20de1800a29 (patch)
tree407e958798d6f156ff0762350734b7b92cf032d8 /winsup/cygwin/fhandler_raw.cc
parentdccc3e5d2c6059410c12feb9e5d26f3176334011 (diff)
downloadcygnal-e3778517d9c6409c9c917db83ccac20de1800a29.tar.gz
cygnal-e3778517d9c6409c9c917db83ccac20de1800a29.tar.bz2
cygnal-e3778517d9c6409c9c917db83ccac20de1800a29.zip
* path.cc (chdir): Always use the normalized_path as posix_cwd, except if it
starts with a drive. Also perform whitespace cleanup.
Diffstat (limited to 'winsup/cygwin/fhandler_raw.cc')
-rw-r--r--winsup/cygwin/fhandler_raw.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_raw.cc b/winsup/cygwin/fhandler_raw.cc
index 84f657f76..edbae89bd 100644
--- a/winsup/cygwin/fhandler_raw.cc
+++ b/winsup/cygwin/fhandler_raw.cc
@@ -179,7 +179,7 @@ fhandler_dev_raw::raw_read (void *ptr, size_t& ulen)
if (is_eom (ret))
set_errno (ENOSPC);
else
- __seterrno ();
+ __seterrno ();
goto err;
}