Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: revisiting history-file rewriting



Wayne Davison wrote:
> This patch adds the option HIST_OVERWRITE that is off by default.  This
> changes the default history-rewriting strategy to one that uses the name
> $HISTFILE.new for writing out the history lines, and then renaming it
> over $HISTFILE when it is done (both actions happen with the history
> file locked).

How would this change the result when multiple shells exit at once?
I'm not entirely clear how the locking affects the fact that multiple
shells want to rewrite the file in this case.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author