• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1From 3d967e53033c85ad5d3af1a42efb2c4f7501c356 Mon Sep 17 00:00:00 2001
2From: Jan Kara <jack@suse.cz>
3Date: Fri, 20 Aug 2021 18:15:02 +0200
4Subject: [PATCH] libss: add newer libreadline.so.8 to dlopen path
5
6OpenSUSE Tumbleweed now has libreadline.so.8. Add it to the list of libs
7to look for.
8
9Signed-off-by: Jan Kara <jack@suse.cz>
10Signed-off-by: Theodore Ts'o <tytso@mit.edu>
11---
12 lib/ss/get_readline.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/lib/ss/get_readline.c b/lib/ss/get_readline.c
16index 11c72b3..aa16157 100644
17--- a/lib/ss/get_readline.c
18+++ b/lib/ss/get_readline.c
19@@ -37,7 +37,7 @@ static void ss_release_readline(ss_data *info)
20 #endif
21
22 /* Libraries we will try to use for readline/editline functionality */
23-#define DEFAULT_LIBPATH "libreadline.so.7:libreadline.so.6:libreadline.so.5:libreadline.so.4:libreadline.so:libedit.so.2:libedit.so:libeditline.so.0:libeditline.so"
24+#define DEFAULT_LIBPATH "libreadline.so.8:libreadline.so.7:libreadline.so.6:libreadline.so.5:libreadline.so.4:libreadline.so:libedit.so.2:libedit.so:libeditline.so.0:libeditline.so"
25
26 #ifdef HAVE_DLOPEN
27 void ss_get_readline(int sci_idx)
28--
292.14.3 (Apple Git-98)
30
31