about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-02-24 21:37:24 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-02-24 21:37:24 +0000
commitbec3de98dfab722b21e69a905bd83e4bfac22f72 (patch)
tree6bf8e01ac522e88cd4489a29bc44ce5a36ceea2b /Src/zsh.h
parent48315b019b12ad62ee2e260926db2d0167f45450 (diff)
downloadzsh-bec3de98dfab722b21e69a905bd83e4bfac22f72.tar.gz
zsh-bec3de98dfab722b21e69a905bd83e4bfac22f72.tar.xz
zsh-bec3de98dfab722b21e69a905bd83e4bfac22f72.zip
27754 plus NEWS change: add "zsystem flock"
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index f2bab06fd..c918f7863 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -350,6 +350,15 @@ enum {
  * Entry used by output from the XTRACE option.
  */
 #define FDT_XTRACE		3
+/*
+ * Entry used for file locking.
+ */
+#define FDT_FLOCK		4
+/*
+ * As above, but the fd is not marked for closing on exec,
+ * so the shell can still exec the last process.
+ */
+#define FDT_FLOCK_EXEC		5
 #ifdef PATH_DEV_FD
 /*
  * Entry used by a process substition.
@@ -357,7 +366,7 @@ enum {
  * decremented on exit; we don't close entries greater than
  * FDT_PROC_SUBST except when closing everything.
  */
-#define FDT_PROC_SUBST		4
+#define FDT_PROC_SUBST		6
 #endif
 
 /* Flags for input stack */