Changeset 5240


Ignore:
Timestamp:
Sep 21, 2006, 3:05:15 AM (18 years ago)
Author:
Gary Byers
Message:

Save and restore errno in callback_for_interrupt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lisp-kernel/x86-exceptions.c

    r5199 r5240  
    402402    save_vsp = xpGPR(xp,Isp),
    403403    xcf = create_exception_callback_frame(xp);
     404  int save_errno = errno;
    404405 
    405406  callback_to_lisp(tcr, nrs_CMAIN.vcell,xp, xcf, 0, 0, 0, 0);
    406407  xpGPR(xp,Irbp) = save_rbp;
    407408  xpGPR(xp,Isp) = save_vsp;
     409  errno = save_errno;
    408410}
    409411
Note: See TracChangeset for help on using the changeset viewer.