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>2002-05-04 22:27:27 +0400
committerChristopher Faylor <me@cgf.cx>2002-05-04 22:27:27 +0400
commit13ee3618d0b42b5a8d6642f4bf974e252739572d (patch)
tree950927d86207b6c340dec75e595c7b4e592d45b4
parent58e74c7e7faf0bdf84f1b2030b98e122ab38f70f (diff)
* path.h (path_conv::path_conv): Initialise normalized_path to NULL.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/path.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 88344b94f..e995ca0e2 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-24 Christopher January <chris@atomice.net>
+
+ * path.h (path_conv::path_conv): Initialise normalized_path to NULL.
+
2002-05-03 Christopher Faylor <cgf@redhat.com>
* net.cc (getdomainname): Change second argument of getdomainname to
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index 79011ec13..7b47720e7 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -126,7 +126,7 @@ class path_conv
check (src, opt | PC_NULLEMPTY, suffixes);
}
- path_conv (): path_flags (0), known_suffix (NULL), error (0), devn (0), unit (0), fileattr (INVALID_FILE_ATTRIBUTES) {path[0] = '\0';}
+ path_conv (): path_flags (0), known_suffix (NULL), error (0), devn (0), unit (0), fileattr (INVALID_FILE_ATTRIBUTES), normalized_path (NULL) {path[0] = '\0';}
~path_conv ();
inline char *get_win32 () { return path; }