• Russ Cox's avatar
    runtime: fix error check in freebsd/386 i386_set_ldt · 19c8f67e
    Russ Cox authored
    Update #2675
    
    The code here was using the error check for Linux/386,
    not the one for FreeBSD/386. Most of the time it worked.
    
    Thanks to Neel Natu (FreeBSD developer) for finding this.
    
    The s/JCC/JAE/ a few lines later is a no-op but makes the
    test match the rest of the file. Why we write JAE instead of JCC
    I don't know, but the two are equivalent and the file might
    as well be consistent.
    
    LGTM=bradfitz, minux
    R=golang-codereviews, bradfitz, minux
    CC=golang-codereviews
    https://golang.org/cl/99680044
    19c8f67e
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...