]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Changes to the shell which should, in theory, allow it to work with
authordrh <drh@noemail.net>
Wed, 8 Dec 2010 00:02:26 +0000 (00:02 +0000)
committerdrh <drh@noemail.net>
Wed, 8 Dec 2010 00:02:26 +0000 (00:02 +0000)
libeditline as an alternative to libreadline.

FossilOrigin-Name: e474fd9e7f89644a7840e33e9df03dbaa4dd28bd

manifest
manifest.uuid
src/shell.c

index 1ed5edf0901a1c9c6a858c7103cc4ced0562168c..f8e150b6ed5f4119a9e692f7e786b2e23186650a 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,8 +1,8 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-C Improved\sdocumentation\sfor\sSQLITE_FCNTL_FILE_POINTER.
-D 2010-12-07T23:24:00
+C Changes\sto\sthe\sshell\swhich\sshould,\sin\stheory,\sallow\sit\sto\swork\swith\nlibeditline\sas\san\salternative\sto\slibreadline.
+D 2010-12-08T00:02:26
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in 4547616ad2286053af6ccccefa242dc925e49bf0
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -178,7 +178,7 @@ F src/random.c cd4a67b3953b88019f8cd4ccd81394a8ddfaba50
 F src/resolve.c 1c0f32b64f8e3f555fe1f732f9d6f501a7f05706
 F src/rowset.c 69afa95a97c524ba6faf3805e717b5b7ae85a697
 F src/select.c 8a7ba246b0b4bb45df7fbc52681728a0e3deaaa7
-F src/shell.c 8517fc1f9c59ae4007e6cc8b9af91ab231ea2056
+F src/shell.c 7b429fc7441594abcc5b97b4756a5f0a0a098e1b
 F src/sqlite.h.in d0cd88c447f25ead403bca04ebd8fe93e035f820
 F src/sqlite3ext.h c90bd5507099f62043832d73f6425d8d5c5da754
 F src/sqliteInt.h b96d5ddb8b419a2ed7cf69a7778b53872d73e8a7
@@ -897,14 +897,14 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
-P a586a4deeb25330037a49df295b36aaf624d0f45
-R 3ba386f2c8b25a73fb57f972152ce3ef
+P 43935548ae79d4d1a71549820a77368cda77104a
+R fd202792c0017998f8a242e921dc5a93
 U drh
-Z 390cd6512179f591600a20e0c1174f61
+Z 6ca1c6e52bb72fad878f40ab29ea43f7
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.6 (GNU/Linux)
 
-iD8DBQFM/sIUoxKgR168RlERAjAdAJ9Bc1SGQwJEVJ0ZfAySqiDTMFxl5QCeLRfO
-Kwt1ARzpSbUsTRztqDWiNdo=
-=QYvM
+iD8DBQFM/ssWoxKgR168RlERArYWAJ9xDo6ujSZYl3PfXvHcS3k6gSuHwACdHVf9
+uErtwsOokR+Gj4AK0f8GS0M=
+=EZ4n
 -----END PGP SIGNATURE-----
index fc57e9a4d36f25f4374b55e0d3a0f04ed1fc3165..afc682821da491a031245c6540dd282deda26c03 100644 (file)
@@ -1 +1 @@
-43935548ae79d4d1a71549820a77368cda77104a
\ No newline at end of file
+e474fd9e7f89644a7840e33e9df03dbaa4dd28bd
\ No newline at end of file
index c5aa40cf299cbebc673f04e99983a12f08e696d7..f75c4b92b84d0f9b899d62ec9dd403225d1ea6c9 100644 (file)
 # include <unistd.h>
 #endif
 
+#ifdef HAVE_EDITLINE
+# include <editline/editline.h>
+#endif
 #if defined(HAVE_READLINE) && HAVE_READLINE==1
 # include <readline/readline.h>
 # include <readline/history.h>
-#else
+#endif
+#if !defined(HAVE_EDITLINE) && (!defined(HAVE_READLINE) || HAVE_READLINE!=1)
 # define readline(p) local_getline(p,stdin)
 # define add_history(X)
 # define read_history(X)