Project

General

Profile

« Previous | Next » 

Revision 9651

bugfix: lib/sh/util.sh: convention of fds to use for command-specific alternate stdin/stdout/stderr: changed to 40/41/42 because 10/11/12 are used by eval (which is used by set_fds()). use of fd 10/11/12 will cause hard-to-find silent bugs because exec will not print an error when these are used. documented why not to use other series of fds for this purpose:

  1. do NOT use 1x, which are used by eval (which is used by set_fds())
  2. do NOT use 2x, which are used as global stdin/stdout/stderr
  3. do NOT use 3x, which are used for logging
  • added
  • modified
  • copied
  • renamed
  • deleted