projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported from ../bash-2.05a.tar.gz.
[platform/upstream/bash.git]
/
lib
/
readline
/
history.c
diff --git
a/lib/readline/history.c
b/lib/readline/history.c
index
d59d8ce
..
e2d65ea
100644
(file)
--- a/
lib/readline/history.c
+++ b/
lib/readline/history.c
@@
-71,6
+71,9
@@
static HIST_ENTRY **the_history = (HIST_ENTRY **)NULL;
history that we save. */
static int history_stifled;
history that we save. */
static int history_stifled;
+/* The current number of slots allocated to the input_history. */
+static int history_size;
+
/* If HISTORY_STIFLED is non-zero, then this is the maximum number of
entries to remember. */
int history_max_entries;
/* If HISTORY_STIFLED is non-zero, then this is the maximum number of
entries to remember. */
int history_max_entries;
@@
-83,9
+86,6
@@
int history_offset;
/* The number of strings currently stored in the history list. */
int history_length;
/* The number of strings currently stored in the history list. */
int history_length;
-/* The current number of slots allocated to the input_history. */
-static int history_size;
-
/* The logical `base' of the history array. It defaults to 1. */
int history_base = 1;
/* The logical `base' of the history array. It defaults to 1. */
int history_base = 1;