diff options
author | Christopher Faylor <me@cgf.cx> | 2009-08-05 03:18:48 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2009-08-05 03:18:48 +0000 |
commit | 7f01964f06effba5278ce060ebf55b7e080c59a8 (patch) | |
tree | fecbac14eb5904310fef289ee0a1122ea8741bd5 /winsup | |
parent | 631681619e1b1d1eef2b154ab14db7d803922dca (diff) | |
download | cygnal-7f01964f06effba5278ce060ebf55b7e080c59a8.tar.gz cygnal-7f01964f06effba5278ce060ebf55b7e080c59a8.tar.bz2 cygnal-7f01964f06effba5278ce060ebf55b7e080c59a8.zip |
* path.cc (patch_conv::check): Zero path before setting it.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/path.h | 5 |
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); } |