"Andrea Federico" <[EMAIL PROTECTED]> wrote: > > > My first guess is that the implementation of > > > sqlite3OsFileSize() (actually implemented as > > > "unixFileSize" on line 1111 of os_unix.c) is > > > not working correctly. > > > > in my case I have no problem, with debbuger I see the size is correct, > > 2048 Byte. > > > > Following a suggestion from an old mail in this mailinglist > > I have replaced the type "dev_t" present in os_unix.c with (in my case) > > "unsigned long" in this way the Device number is copied correctly. > > I want to add this information: > I have no problem with sqlite version 2.8.17. >
When you say that you have no problem, does that mean you have run SQLite version 3.3.1 on vxWorks and it worked, or that you have run some other SQLite version 3.x.x? There were big changes in the OS layer going from 3.2.8 to 3.3.0. Something might have broken, at least in respect to vxWorks. I don't have access to vxWorks so there is no way for me to test this myself. -- D. Richard Hipp <[EMAIL PROTECTED]>