Improve documentation on trap pitfalls.
commit22e57e5c5ec8d566321d33536b9e6e47e8084580
authorEric Blake <ebb9@byu.net>
Sun, 7 Jun 2009 04:03:16 +0000 (6 22:03 -0600)
committerEric Blake <ebb9@byu.net>
Sun, 7 Jun 2009 04:05:47 +0000 (6 22:05 -0600)
treeb5e499a61b59c6e0308bdaaf8120268b513d17d6
parent73d519a40a02f441661189755b288ee79bfd4203
Improve documentation on trap pitfalls.

* doc/autoconf.texi (Limitations of Builtins) <trap>: Mention new
Posix 2008 requirement on trap, and dash bug in implementing it.
Mention various shell bugs with traps defined inside subshells.
Mention older bash limitation with single-command exit trap.
<set>: Mention another 'set -e' limitation.
Reported by Jens Schmidt.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
doc/autoconf.texi