From bec3de98dfab722b21e69a905bd83e4bfac22f72 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 24 Feb 2010 21:37:24 +0000 Subject: 27754 plus NEWS change: add "zsystem flock" --- Src/zsh.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Src/zsh.h') 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 */ -- cgit 1.4.1