summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-08-04 22:35:35 +0000
committerChristopher Faylor <me@cgf.cx>2009-08-04 22:35:35 +0000
commit631681619e1b1d1eef2b154ab14db7d803922dca (patch)
tree3d01ee255edef0a5c5c85227e159a64347962335 /winsup/cygwin/path.cc
parent3b689b97bdf13354ab88583507e100d183d3fddf (diff)
downloadcygnal-631681619e1b1d1eef2b154ab14db7d803922dca.tar.gz
cygnal-631681619e1b1d1eef2b154ab14db7d803922dca.tar.bz2
cygnal-631681619e1b1d1eef2b154ab14db7d803922dca.zip
* fhandler_socket.cc (fhandler_socket::send_internal): Just use wmem size if
the length exceeds it. * net.cc (fdsock): Use 65535 as window size, just like the comment says or we run into problems with DuplicateHandle. * path.cc (patch_conv::check): Use set_path to set invalid filename. * path.h (path_conv::path_conv): Ditto.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index eba56fd83..4d5424c76 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -968,7 +968,7 @@ virtual_component_retry:
{
too_long:
error = ENAMETOOLONG;
- this->path = cstrdup ("::ENAMETOOLONG::");
+ set_path ("::ENAMETOOLONG::");
return;
}