search for: current_history

Displaying 1 result from an estimated 1 matches for "current_history".

2002 Jul 10
0
history patch (was Re: portable snprintf implementation)
...the previous line. This is a very cheap ! \ way to reduce the history size, and to reduce the time the user may spent searching it! ! \ For this to work properly, we (apparently) need to initialise the history mechanism with ! \ the call to using_history(). ! */ ! HIST_ENTRY *prev= current_history(); ! if( !called ){ ! using_history(); ! called= TRUE; ! } ! if( !prev ){ ! /* It is possible that current_history() returns NULL while there is a history. In that case, ! \ back up one entry, and if that succeeds, inch forward again. ! */ !...