]> git.pld-linux.org Git - projects/rc-scripts.git/commit
- another example of zsh supremacy in shell world! fixed 5 yrs old flaw
authorTomasz Pala <gotar@pld-linux.org>
Sat, 6 Oct 2012 16:33:59 +0000 (16:33 +0000)
committerTomasz Pala <gotar@pld-linux.org>
Sat, 6 Oct 2012 16:33:59 +0000 (16:33 +0000)
commit00f5d898da7b7f0090519a6d727a6eb3d1e6dfb0
tree18ee076e9a524709dff5cd12206ca8b629574fe4
parentf6a3c40800caebc54749a97a78cfce3b3657927f
- another example of zsh supremacy in shell world! fixed 5 yrs old flaw
  introduced in rev. 8719 that neither pdksh nor mksh handled properly,
  not to mention bash - such process backgrounding caused, when called
  from functions/run_cmd (i.e. during service network start), I/O wait
  for STDOUT of 'background' job despite >/dev/null redirects; this
  effectively leads to 2 seconds delay for each interface at system
  startup, cumulating to minutes of pointless waiting on heavy networked
  machines! There is alternate workaround: { { sleep 2; } & } >/dev/null
  that works as expected under pdksh or mksh, but requires additional &
  for zsh and doesn't fix bash behaviour, so please do not touch _THIS_
  solution without comprehensive research! -- Aug 29th, 2012, /me
  Note: this happens due to $() capture, so plain ifup isn't enough.

svn-id: @12592
lib/ifup
This page took 0.03475 seconds and 4 git commands to generate.