On 9/21/2017 3:17 PM, Andy Goth wrote: > The winOpen() function then successfully retries with flags altered to > contain SQLITE_OPEN_READONLY instead of SQLITE_OPEN_READWRITE, and this > succeeds. Trouble is, winLog() was already called, and the error > message propagated back to Fossil and eventually the web server as > garbage at the beginning of the CSS file.
I tried the change you just checked into the SQLite repository (thanks for the same-minute turnaround time on that), and it solves my problem. Now is there anything to be done about the file locking issue? I just recompiled without -DSQLITE_WIN32_IOERR_RETRY=0 in case it was magically fixed, but of course not. So more thought is needed. For now I can just ship with -DSQLITE_WIN32_IOERR_RETRY=0, but I'd like to be able to use the next Fossil release binary out of the box. -- Andy Goth | <andrew.m.goth/at/gmail/dot/com>
Description: OpenPGP digital signature
_______________________________________________ fossil-users mailing list firstname.lastname@example.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users