One of the syscall routines in rtl/linux/i386/syscall.inc checks for a return value in the range -4095..-1 as the error return, but all the rest just take a negative value as an error. I think the former is correct and attach a patch that will fix the rest. (I sent something to the list quite a while ago about this, but the complete change did not get made.)
Colin
Mailing lists / fpc-devel / 2005-03
Patch for linux syscalls
2 messages · 2 people · –
- C Western 1
- Florian Klaempfl 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
