Browse Source

* added mov errno,%eax

marco 21 years ago
parent
commit
9adbeab70d
1 changed files with 5 additions and 1 deletions
  1. 5 1
      rtl/linux/i386/syscall.inc

+ 5 - 1
rtl/linux/i386/syscall.inc

@@ -39,6 +39,7 @@ asm
   jmp   .LNoThread
   jmp   .LNoThread
 .LThread:
 .LThread:
   movl  %eax,%ebx
   movl  %eax,%ebx
+  movl Errno,%eax
   call  *%ecx
   call  *%ecx
   movl  %ebx,(%eax)
   movl  %ebx,(%eax)
 .LNoThread:
 .LNoThread:
@@ -351,7 +352,10 @@ end;
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.14  2004-03-10 21:41:53  jonas
+  Revision 1.15  2004-05-28 21:41:49  marco
+   * added mov errno,%eax
+
+  Revision 1.14  2004/03/10 21:41:53  jonas
     * fixed syscall return value checking
     * fixed syscall return value checking
 
 
   Revision 1.13  2004/03/03 22:10:48  peter
   Revision 1.13  2004/03/03 22:10:48  peter