From 63fe0332e57bb4e7583a75aba3f0af4c678051b4 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 18 Apr 2019 15:34:22 +0300 Subject: Add note on bash coprocess bug --- libbutl/manifest-parser.bash.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libbutl') diff --git a/libbutl/manifest-parser.bash.in b/libbutl/manifest-parser.bash.in index 2c6158a..b0475c4 100644 --- a/libbutl/manifest-parser.bash.in +++ b/libbutl/manifest-parser.bash.in @@ -64,6 +64,10 @@ function butl_manifest_parser_start () # [] # https://lists.gnu.org/archive/html/bug-bash/2012-12/msg00069.html # https://lists.gnu.org/archive/html/bug-bash/2012-10/msg00027.html # + # Also note that the bash bug (still present in 5.0) prevents running + # multiple coprocesses at a time (see the BUGS section of bash(1) man page + # for details). + # coproc { butl_parse_manifest; } <&"$butl_manifest_parser_ifd" exec {butl_manifest_parser_ofd}<&"${COPROC[0]}" butl_manifest_parser_pid="$COPROC_PID" -- cgit v1.1