diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-22 21:56:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-22 21:56:27 (GMT) |
commit | 342194b90d999afc61c631286f5296f63cbd7f33 (patch) | |
tree | 709e92f8b34432eb936a6968c475e113fec0dcf9 /unix/tclUnixCompat.c | |
parent | 09c2f769ba9fbbb8a1b62ce432c0c7a26ca4f800 (diff) | |
download | tcl-342194b90d999afc61c631286f5296f63cbd7f33.zip tcl-342194b90d999afc61c631286f5296f63cbd7f33.tar.gz tcl-342194b90d999afc61c631286f5296f63cbd7f33.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; |