*Jan Nijtmans wrote:* > But not in dlopen(): > See: > <http://man7.org/linux/man-pages/man3/dlopen.3.html> > Quoting: > If filename contains a slash ("/"), then it > is interpreted as a (relative or absolute) pathname. Otherwise, the > dynamic linker searches for the library as follows (see ld.so(8) for > further details): > > I want the dlopen() in the Cygwin VFS to behave the same as other UNIX'es.
I suppose the issue here is whether an extension should be treated at part of the application or something being specified by whoever set the current directory. For applications embedding SQLite, your preference makes much sense. For SQLite usage where a user may be specifying extensions, it seems to me that the usual path resolution rules for files in general (rather than DLLs) makes more sense. It was that usage which led to my reply. I do not know the best answer here, but I think more surprise will attend using DLL loading rules. Best regards, -- Larry _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users