-----Original Message----- From:?Richard Hipp <drh at sqlite.org> Date:?26 January 2016 at 16:29:01
> On 1/25/16, Harald Hanche-Olsen wrote: > > I have discovered that opening a database via a symlink works only if the > > symlink is in the current directory. > > We think this problem is now fixed on trunk. Can you please try with > the latest trunk code (you can download an amalgamation snapshot from > https://www.sqlite.org/download.html) and let us know if it clears the > problem for you. Thanks. That build did at least survive some simpleminded tests. I also checked with a symlink pointing to a symlink pointing to the db file; but I didn?t check to see if creates any temporary files in the proper directory. I also note that the new still fails with an unhelpful error message if it fails to find an absolute path to the db file, but that is more cosmetic. More importantly, it works even if getcwd fails, if pointed to a symlink that resolves to an absolute path. So the code seems about as robust as one might wish. Thanks! ? Harald