On 1/7/16 11:21 PM, Eduardo A. Bustamante López wrote: > BTW, the timestamp = 0 thing is a bug in readline. Since it uses (time_t) 0 as > a return value for errors in history_get_time, and later there's code similar > to this: > > t = history_get_time(...) > if(t) > strftime(...) > else > strcat(..., "??") > > It considers 0 as an invalid value.
It's not a bug; it's a distinguished value the history library won't write. All bets are off if you manually change the history file. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/