diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-22 21:57:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-22 21:57:27 (GMT) |
commit | 3a2c58f0e325649c4a1c1f7dc37ed58705f91221 (patch) | |
tree | 2abb83c21947e2f11c7af56ec84dbecaab2a183c /unix/tclUnixCompat.c | |
parent | b6eebed4e69d98556922e00a571b94ecabe3bdda (diff) | |
parent | 342194b90d999afc61c631286f5296f63cbd7f33 (diff) | |
download | tcl-3a2c58f0e325649c4a1c1f7dc37ed58705f91221.zip tcl-3a2c58f0e325649c4a1c1f7dc37ed58705f91221.tar.gz tcl-3a2c58f0e325649c4a1c1f7dc37ed58705f91221.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 06c19b9..67bd498 100644 --- a/unix/tclUnixCompat.c +++ b/unix/tclUnixCompat.c @@ -992,7 +992,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; |