* path.cc (patch_conv::check): Zero path before setting it.

This commit is contained in:
Christopher Faylor 2009-08-05 03:18:48 +00:00
parent 631681619e
commit 7f01964f06
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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);
}