about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-04-17 10:23:45 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-04-17 10:23:45 +0000
commit78ce07b49f08964eaa08d68eb8f6a5595bbcfbc6 (patch)
tree3691862ef272257a5ecaa16d1d11db815cbf12c4 /Doc/Zsh
parent35cedab2187d9472792656d0c46fc5acca1f1558 (diff)
downloadzsh-78ce07b49f08964eaa08d68eb8f6a5595bbcfbc6.tar.gz
zsh-78ce07b49f08964eaa08d68eb8f6a5595bbcfbc6.tar.xz
zsh-78ce07b49f08964eaa08d68eb8f6a5595bbcfbc6.zip
24818: add HIST_FCNTL_LOCK.
unposted: update NEWS with new features
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/options.yo9
1 files changed, 9 insertions, 0 deletions
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))(