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/cygwin/path.h | |
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/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 5 |
1 files changed, 3 insertions, 2 deletions
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); } |