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 07:18:48 +0400
committerChristopher Faylor <me@cgf.cx>2009-08-05 07:18:48 +0400
commit7f01964f06effba5278ce060ebf55b7e080c59a8 (patch)
treefecbac14eb5904310fef289ee0a1122ea8741bd5 /winsup/cygwin/path.h
parent631681619e1b1d1eef2b154ab14db7d803922dca (diff)
* path.cc (patch_conv::check): Zero path before setting it.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r--winsup/cygwin/path.h5
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);
}