On Tue, Jun 19, 2007 at 02:46:17PM -0400, Brian Alliet wrote: > ftruncate is declared in sys/unistd.h as: > > ftruncate(int fd, off_t length) > > which is correct.
Oops... I didn't catch a few ifdefs. Indeed it isn't declared. I'll fix that. > Why would the compiler pass a 64-bit value? off_t is a long (a "c" > long, which is 32-bits under NestedVM, not a java long). Because there is no type declaration. It all makes sense now. Sorry. > Ahh... I'd argue this is a clear bug in sqllite. It is assuming off_t > is the same as i64 (which is presumably a typedef to long long). But I still think this is a bug. -Brian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLiteJDBC" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlitejdbc?hl=en -~----------~----~----~----~------~----~------~--~---
