Re: [sqlite] ftruncate() for values greater than file size

2007-11-29 Thread drh
Joe Wilson <[EMAIL PROTECTED]> wrote: > > On Nov 29, 2007, at 9:19 PM, Mark Brown wrote: > > > I have finally tracked down a bug that has plagued by vxWorks > > > port. It > > > appears that our file system's implementation of ftruncate() does > > > not like > > > to "truncate" a file larger

Re: [sqlite] ftruncate() for values greater than file size

2007-11-29 Thread Dan
On Nov 29, 2007, at 9:19 PM, Mark Brown wrote: Hi- I have finally tracked down a bug that has plagued by vxWorks port. It appears that our file system's implementation of ftruncate() does not like to "truncate" a file larger than its current size, and returns EINVAL for this

[sqlite] ftruncate() for values greater than file size

2007-11-29 Thread Mark Brown
Hi- I have finally tracked down a bug that has plagued by vxWorks port. It appears that our file system's implementation of ftruncate() does not like to "truncate" a file larger than its current size, and returns EINVAL for this operation. My question...assuming that I can't get ftruncate to