Quoth Drake Wilson <dr...@begriffli.ch>, on 2011-02-28 14:44:38 -0700: > Furthermore, another approach if the name<->FD thing is the only > requirement would be to retrieve all the original VFS methods at init > time (using sqlite3_vfs_find) and only alter a few of them when > registering the new one, essentially "subclassing" the VFS. I haven't > seen anything that would require changes except ones that are > filename-related and easily refactorable into a short stack of local > functions plus wrappers for the methods that take a filename argument, > but I haven't looked as closely as Pavel, Richard, et al. presumably > have.
Actually, wait a minute. Here I was assuming there'd be a mechanism similar to /dev/fd or /proc/self/fd on most of the Unixes supported, per what Roger mentioned upthread. But that may wind up broken if the sandbox denies open() unilaterally, too. Hmm. I shouldn't try to do this before coffee... ---> Drake Wilson _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users