From 78ce07b49f08964eaa08d68eb8f6a5595bbcfbc6 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 17 Apr 2008 10:23:45 +0000 Subject: 24818: add HIST_FCNTL_LOCK. unposted: update NEWS with new features --- Doc/Zsh/options.yo | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Doc/Zsh') diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 5b41de725..c0a3f65b8 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -577,6 +577,15 @@ than tt(SAVEHIST) in order to give you some room for the duplicated events, otherwise this option will behave just like tt(HIST_IGNORE_ALL_DUPS) once the history fills up with unique events. ) +pindex(HIST_FCNTL_LOCK) +item(tt(HIST_FCNTL_LOCK))( +When writing out the history file, by default zsh uses ad-hoc file locking +to avoid known problems with locking on some operating systems. With this +option locking is done by means of the system's tt(fcntl) call, where +this method is available. On recent operating systems this may +provide better performance, in particular avoiding history corruption when +files are stored on NFS. +) pindex(HIST_FIND_NO_DUPS) cindex(history, ignoring duplicates in search) item(tt(HIST_FIND_NO_DUPS))( -- cgit 1.4.1