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:
authorChristopher Faylor <me@cgf.cx>2009-08-05 02:35:35 +0400
committerChristopher Faylor <me@cgf.cx>2009-08-05 02:35:35 +0400
commit631681619e1b1d1eef2b154ab14db7d803922dca (patch)
tree3d01ee255edef0a5c5c85227e159a64347962335 /winsup/cygwin/path.h
parent3b689b97bdf13354ab88583507e100d183d3fddf (diff)
* 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.h')
-rw-r--r--winsup/cygwin/path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index 3e66c19c7..35a032b51 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -168,7 +168,7 @@ class path_conv
: fileattr (INVALID_FILE_ATTRIBUTES), wide_path (NULL), path_flags (0),
known_suffix (NULL), normalized_path (NULL), error (0), dev (in_dev)
{
- path = cstrdup (in_dev.native);
+ set_path (in_dev.native);
}
path_conv (int, const char *src, unsigned opt = PC_SYM_FOLLOW,