commit bash-20150410 snapshot

This commit is contained in:
Chet Ramey
2015-04-24 16:15:03 -04:00
parent ddece28e53
commit 0385211bb5
34 changed files with 6160 additions and 5935 deletions
+8 -5
View File
@@ -6,9 +6,9 @@
.\" Case Western Reserve University
.\" chet.ramey@case.edu
.\"
.\" Last Change: Tue Jul 1 16:38:38 PDT 2014
.\" Last Change: Mon Apr 6 14:13:28 EDT 2015
.\"
.TH HISTORY 3 "2014 July 1" "GNU History 6.3"
.TH HISTORY 3 "2014 April 6" "GNU History 6.3"
.\"
.\" File Name macro. This used to be `.PN', for Path Name,
.\" but Sun doesn't seem to like that very much.
@@ -441,9 +441,12 @@ return a pointer to that entry. If there is no previous entry, return
a \fBNULL\fP pointer.
.Fn1 "HIST_ENTRY *" next_history "void"
Move the current history offset forward to the next history entry, and
return the a pointer to that entry. If there is no next entry, return
a \fBNULL\fP pointer.
If the current history offset is not already at the end of the history
list, move the current history offset forward to the next history entry,
and return the a pointer to that entry.
If there is no next entry, return a \fBNULL\fP pointer.
If this function returns \fBNULL\fP, the current history offset is at the
end of the history list.
.SS Searching the History List
+6 -3
View File
@@ -270,9 +270,12 @@ a @code{NULL} pointer.
@end deftypefun
@deftypefun {HIST_ENTRY *} next_history (void)
Move the current history offset forward to the next history entry, and
return the a pointer to that entry. If there is no next entry, return
a @code{NULL} pointer.
If the current history offset is not already at the end of the history
list, move the current history offset forward to the next history entry,
and return the a pointer to that entry.
If there is no next entry, return a @code{NULL} pointer.
If this function returns @code{NULL}, the current history offset is at the
end of the history list.
@end deftypefun
@node Searching the History List
+3 -3
View File
@@ -4,7 +4,7 @@ Copyright (C) 1988-2015 Free Software Foundation, Inc.
@set EDITION 6.4
@set VERSION 6.4
@set UPDATED 22 February 2015
@set UPDATED-MONTH February 2015
@set UPDATED 6 April 2015
@set UPDATED-MONTH April 2015
@set LASTCHANGE Sun Feb 22 20:32:36 EST 2015
@set LASTCHANGE Mon Apr 6 14:13:14 EDT 2015
+3 -3
View File
@@ -124,9 +124,9 @@ int history_lines_written_to_file = 0;
for more extensive tests. */
#define HIST_TIMESTAMP_START(s) (*(s) == history_comment_char && isdigit ((unsigned char)(s)[1]) )
static char *history_backupfile __P((const char *));
static int histfile_backup __P((const char *, const char *));
static int histfile_restore __P((const char *, const char *));
static char *history_backupfile PARAMS((const char *));
static int histfile_backup PARAMS((const char *, const char *));
static int histfile_restore PARAMS((const char *, const char *));
/* Return the string that should be used in the place of this
filename. This only matters when you don't specify the