[6.0] 50a1d7a8a add_history() has variant definitions

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Jul 11 09:35:12 UTC 2019


commit 50a1d7a8acf63479de032a81f9fac11926e0630b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Jan 21 09:34:18 2019 +0000

    add_history() has variant definitions

diff --git a/bin/varnishadm/varnishadm.c b/bin/varnishadm/varnishadm.c
index 7a09edf6a..13c9d7c8d 100644
--- a/bin/varnishadm/varnishadm.c
+++ b/bin/varnishadm/varnishadm.c
@@ -192,7 +192,7 @@ send_line(char *l)
 		cli_write(_line_sock, l);
 		cli_write(_line_sock, "\n");
 		if (*l)
-			AZ(add_history(l));
+			add_history(l);
 		rl_callback_handler_install("varnish> ", send_line);
 	} else {
 		RL_EXIT(0);
diff --git a/flint.lnt b/flint.lnt
index 0a9d6e9f0..11169b612 100644
--- a/flint.lnt
+++ b/flint.lnt
@@ -193,6 +193,11 @@
 
 -esym(785,VSL_tags)				// Sparse array
 
+///////////////////////////////////////////////////////////////////////
+// readline etc.
+
+-esym(534, add_history)
+
 ///////////////////////////////////////////////////////////////////////
 // -lcurses
 -esym(534, beep)


More information about the varnish-commit mailing list