The __set_errno macro _must_ match that defined in include/bits/errno.h.  We can't tack in the return -1 since then when people include errno.h, the return -1 mysteriously vanishes...  Setting the __set_errno back and restoring the 'return -1;' calls to each _syscall[0-n] macro makes mips syscalls work again.  -Erik
The __set_errno macro _must_ match that defined in include/bits/errno.h.  We
can't tack in the return -1 since then when people include errno.h, the return
-1 mysteriously vanishes...  Setting the __set_errno back and restoring the
'return -1;' calls to each _syscall[0-n] macro makes mips syscalls work again.
 -Erik

joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc