diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-26 14:31:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-26 14:31:02 (GMT) |
commit | 8cf6024cc2a05754981233a71d68a3d0fd1d07ac (patch) | |
tree | d9d14949559023cffce9873d2e33742a7b7c13e1 /generic/tclEnv.c | |
parent | f38639f6e7af8f724c5401f5c47cdbfb25da03a4 (diff) | |
parent | 8a2d92c01ec2525c1be745e4ac62a28707bfa819 (diff) | |
download | tcl-8cf6024cc2a05754981233a71d68a3d0fd1d07ac.zip tcl-8cf6024cc2a05754981233a71d68a3d0fd1d07ac.tar.gz tcl-8cf6024cc2a05754981233a71d68a3d0fd1d07ac.tar.bz2 |
use cygwin_conv_path() in stead of deprecated cygwin_conv_to_full_posix_path
Diffstat (limited to 'generic/tclEnv.c')
-rw-r--r-- | generic/tclEnv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclEnv.c b/generic/tclEnv.c index e45ae6a..b5ae6ea 100644 --- a/generic/tclEnv.c +++ b/generic/tclEnv.c @@ -772,9 +772,9 @@ TclCygwinPutenv( } else { int size; - size = cygwin_posix_to_win32_path_list_buf_size(value); + size = cygwin_conv_path_list(0, value, NULL, 0); buf = alloca(size + 1); - cygwin_posix_to_win32_path_list(value, buf); + cygwin_conv_path_list(0, value, buf, size); } SetEnvironmentVariableA(name, buf); |