diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-26 14:29:09 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-26 14:29:09 (GMT) |
commit | 8a2d92c01ec2525c1be745e4ac62a28707bfa819 (patch) | |
tree | 7fadc2a3a6def8b08540df21a17f099f330c5c51 /generic/tclEnv.c | |
parent | 5b2718a49ed67a4ac9378b222b1cab87cf55856b (diff) | |
parent | ed0df6fdc2fe5089d09dc9c806ceb2fe98a67d89 (diff) | |
download | tcl-8a2d92c01ec2525c1be745e4ac62a28707bfa819.zip tcl-8a2d92c01ec2525c1be745e4ac62a28707bfa819.tar.gz tcl-8a2d92c01ec2525c1be745e4ac62a28707bfa819.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 bcc0ff1..f2395e6 100644 --- a/generic/tclEnv.c +++ b/generic/tclEnv.c @@ -771,9 +771,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); |