Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: revisiting history-file rewriting
- X-seq: zsh-workers 21003
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: revisiting history-file rewriting
- Date: Fri, 18 Mar 2005 10:49:08 +0000
- In-reply-to: <20050316204059.GA1298@xxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20050316204059.GA1298@xxxxxxxxx>
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