|
@@ -69,8 +69,8 @@ asm
|
|
movl sysnr,%eax
|
|
movl sysnr,%eax
|
|
movl param1,%ebx
|
|
movl param1,%ebx
|
|
int $0x80
|
|
int $0x80
|
|
- testl %eax,%eax
|
|
|
|
- jns .LSyscOK
|
|
|
|
|
|
+ cmpl $-4095,%eax
|
|
|
|
+ jb .LSyscOK
|
|
negl %eax
|
|
negl %eax
|
|
{$ifdef VER1_0}
|
|
{$ifdef VER1_0}
|
|
movl %eax,Errno
|
|
movl %eax,Errno
|
|
@@ -351,7 +351,10 @@ end;
|
|
|
|
|
|
{
|
|
{
|
|
$Log$
|
|
$Log$
|
|
- Revision 1.13 2004-03-03 22:10:48 peter
|
|
|
|
|
|
+ Revision 1.14 2004-03-10 21:41:53 jonas
|
|
|
|
+ * fixed syscall return value checking
|
|
|
|
+
|
|
|
|
+ Revision 1.13 2004/03/03 22:10:48 peter
|
|
* fixed previous commit
|
|
* fixed previous commit
|
|
|
|
|
|
Revision 1.12 2004/03/03 22:03:10 peter
|
|
Revision 1.12 2004/03/03 22:03:10 peter
|
|
@@ -392,4 +395,4 @@ end;
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|