summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r--winsup/cygwin/path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index 3e66c19c7..35a032b51 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -168,7 +168,7 @@ class path_conv
: fileattr (INVALID_FILE_ATTRIBUTES), wide_path (NULL), path_flags (0),
known_suffix (NULL), normalized_path (NULL), error (0), dev (in_dev)
{
- path = cstrdup (in_dev.native);
+ set_path (in_dev.native);
}
path_conv (int, const char *src, unsigned opt = PC_SYM_FOLLOW,