diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-27 12:49:12 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-06-27 12:49:12 (GMT) |
commit | 6cdbd8e558da42704aa9cfe94cccd8450c652964 (patch) | |
tree | b9ae6f84089e9eb1bb44685f50f540ea204f481a /unix/tclUnixFile.c | |
parent | dff27f34b8b531f7a8cf5c4e5a43a90892d34fae (diff) | |
download | tcl-6cdbd8e558da42704aa9cfe94cccd8450c652964.zip tcl-6cdbd8e558da42704aa9cfe94cccd8450c652964.tar.gz tcl-6cdbd8e558da42704aa9cfe94cccd8450c652964.tar.bz2 |
fix bug in cygwin's [info nameofexecutable]
install dde and registry dll for cygwin
Diffstat (limited to 'unix/tclUnixFile.c')
-rw-r--r-- | unix/tclUnixFile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index 73237c5..2616eda 100644 --- a/unix/tclUnixFile.c +++ b/unix/tclUnixFile.c @@ -70,7 +70,7 @@ TclpFindExecutable(argv0) } tclNativeExecutableName = (char *) ckalloc(length + 1); memcpy(tclNativeExecutableName, name, length); - buf[length] = '\0'; + tclNativeExecutableName[length] = '\0'; #else if (argv0 == NULL) { return NULL; |