diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-22 21:56:27 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-22 21:56:27 (GMT) |
commit | 4bef90c4ae18f12f6067e299bf8ed79c9909b5e8 (patch) | |
tree | 709e92f8b34432eb936a6968c475e113fec0dcf9 /unix/tclUnixCompat.c | |
parent | 067d4f99195e7e27827f8500a36a3cc918c2e44d (diff) | |
download | tcl-4bef90c4ae18f12f6067e299bf8ed79c9909b5e8.zip tcl-4bef90c4ae18f12f6067e299bf8ed79c9909b5e8.tar.gz tcl-4bef90c4ae18f12f6067e299bf8ed79c9909b5e8.tar.bz2 |
Bug [3601804]: platformCPUID segmentation fault on Darwin
Diffstat (limited to 'unix/tclUnixCompat.c')
-rw-r--r-- | unix/tclUnixCompat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixCompat.c b/unix/tclUnixCompat.c index 71bd846..1969d1c 100644 --- a/unix/tclUnixCompat.c +++ b/unix/tclUnixCompat.c @@ -698,7 +698,7 @@ TclWinCPUID( "mov %%ebx, %%esi \n\t" /* save what cpuid just put in %ebx */ "mov %%edi, %%ebx \n\t" /* restore the old %ebx */ : "=a"(regsPtr[0]), "=S"(regsPtr[1]), "=c"(regsPtr[2]), "=d"(regsPtr[3]) - : "a"(index) : "edi"); + : "a"(index) : "edi","ebx"); status = TCL_OK; #endif return status; |