Thanks. The problem turned out to be related to the ABI of the platform I'm porting to. lseek32 has an off32_t parameter. The ABI specifies that ints are sign extended so the compiler can bypass doing the sign extending when lseek32 calls lseek32_common. I added some "thunking" code to do the prep work for the 32-bit syscalls and things are now working as expected.
Neale This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code