projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* linux-thread-db.c (check_for_thread_db): Return early if we have
[deliverable/binutils-gdb.git]
/
readline
/
readline.c
diff --git
a/readline/readline.c
b/readline/readline.c
index 5e9767ab47f9fbbf7e25a56d82c757f6aeacc304..5eaaf47435e6b87c20f21150a753c0f8f2724f69 100644
(file)
--- a/
readline/readline.c
+++ b/
readline/readline.c
@@
-282,6
+282,7
@@
rl_set_prompt (prompt)
{
FREE (rl_prompt);
rl_prompt = prompt ? savestring (prompt) : (char *)NULL;
{
FREE (rl_prompt);
rl_prompt = prompt ? savestring (prompt) : (char *)NULL;
+ rl_display_prompt = rl_prompt ? rl_prompt : "";
rl_visible_prompt_length = rl_expand_prompt (rl_prompt);
return 0;
rl_visible_prompt_length = rl_expand_prompt (rl_prompt);
return 0;
@@
-714,7
+715,7
@@
_rl_dispatch_subseq (key, map, got_subseq)
rl_dispatching = 1;
RL_SETSTATE(RL_STATE_DISPATCHING);
rl_dispatching = 1;
RL_SETSTATE(RL_STATE_DISPATCHING);
-
r =
(*map[key].function)(rl_numeric_arg * rl_arg_sign, key);
+ (*map[key].function)(rl_numeric_arg * rl_arg_sign, key);
RL_UNSETSTATE(RL_STATE_DISPATCHING);
rl_dispatching = 0;
RL_UNSETSTATE(RL_STATE_DISPATCHING);
rl_dispatching = 0;
This page took
0.022966 seconds
and
4
git commands to generate.