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
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-08-05 07:18:48 +0400
committerChristopher Faylor <me@cgf.cx>2009-08-05 07:18:48 +0400
commit7f01964f06effba5278ce060ebf55b7e080c59a8 (patch)
treefecbac14eb5904310fef289ee0a1122ea8741bd5 /winsup
parent631681619e1b1d1eef2b154ab14db7d803922dca (diff)
* path.cc (patch_conv::check): Zero path before setting it.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/path.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 5bc839582..03b71fe95 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2009-08-04 Christopher Faylor <me+cygwin@cgf.cx>
+ * path.cc (patch_conv::check): Zero path before setting it.
+
+2009-08-04 Christopher Faylor <me+cygwin@cgf.cx>
+
* 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
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index 35a032b51..40aaf4498 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -165,8 +165,9 @@ class path_conv
const suffix_info *suffixes = NULL) __attribute__ ((regparm(3)));
path_conv (const device& in_dev)
- : fileattr (INVALID_FILE_ATTRIBUTES), wide_path (NULL), path_flags (0),
- known_suffix (NULL), normalized_path (NULL), error (0), dev (in_dev)
+ : fileattr (INVALID_FILE_ATTRIBUTES), wide_path (NULL), path (NULL),
+ path_flags (0), known_suffix (NULL), normalized_path (NULL), error (0),
+ dev (in_dev)
{
set_path (in_dev.native);
}