diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-06-27 12:49:12 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-06-27 12:49:12 (GMT) |
commit | e2e50195740d759a7ac232d202129e0425c64903 (patch) | |
tree | b9ae6f84089e9eb1bb44685f50f540ea204f481a /unix/tclUnixFile.c | |
parent | 754d9565f0c1c8b030402f364214159d010bfca9 (diff) | |
download | tcl-e2e50195740d759a7ac232d202129e0425c64903.zip tcl-e2e50195740d759a7ac232d202129e0425c64903.tar.gz tcl-e2e50195740d759a7ac232d202129e0425c64903.tar.bz2 |
fix bug in cygwin's [info nameofexecutable]
install dde and registry dll for cygwin
FossilOrigin-Name: 1fe8106c703242c06581d8a8f45177a86a1867bc
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; |