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 | b63a137be6a9a9491e5927f5613bbaf84f00532b (patch) | |
tree | 2abb83c21947e2f11c7af56ec84dbecaab2a183c | |
parent | 8c190c2de231c115b66ef2dc05a8d9b8da20b930 (diff) | |
parent | 21be09ba34563c7d9fd3b0d013fe643c63f00174 (diff) | |
download | tcl-b63a137be6a9a9491e5927f5613bbaf84f00532b.zip tcl-b63a137be6a9a9491e5927f5613bbaf84f00532b.tar.gz tcl-b63a137be6a9a9491e5927f5613bbaf84f00532b.tar.bz2 |
Bug [3601804]: platformCPUID segmentation fault on Darwin
-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; |