> Le 11 f?vr. 2016 ? 16:46, Olivier Mascia <om at integral.be> a ?crit : > > 3.12.0 is good target, imo. > The way I patched it works nicely for the interactivity, but more work needs > to be done for handling the command-line itself properly (it always is ANSI - > or Wide and not OEM-something or UTF-8). In addition my code will need deep > focused review and probably some refactoring for best integration within the > coding guidelines of SQLite. > > On the other hand Dominique and Clemens pointed to interesting other paths to > handle this, with possible bumps on the road. I personally would like to get > time to experiment with that and see where it goes. > > I would gladly wait for 3.11.0 final code, and then restart this experiment.
In between if any of you want to experiment with the path I followed, up to now, here is a quick and dirty patch made on the amalgamation code from https://www.sqlite.org/snapshot/sqlite-snapshot-201602101910.tar.gz It seems to get things quite right, with some details I would like to dig deeper / polish. For one, I do not like adding functions to sqlite3.c which are merely used by shell.c. But I did that way to make it more obvious how (few) these alternatives functions differ from their initial versions in sqlite3.c. shell.c is just using these new functions in two key spots. But I had to move up the sqlite_initialize() call right at the beginning of main(). -- Meilleures salutations, Met vriendelijke groeten, Best Regards, Olivier Mascia, integral.be/om -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 842 bytes Desc: Message signed with OpenPGP using GPGMail URL: <http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-users/attachments/20160211/f678b95f/attachment.pgp>