[3288] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[barnowl/barnowl] 4d9e31: Don't do the stderr redirect hack if

daemon@ATHENA.MIT.EDU (GitHub)
Sun Aug 12 22:33:31 2012

Date: Sun, 12 Aug 2012 19:33:26 -0700
From: GitHub <noreply@github.com>
Reply-To: GitHub <noreply@github.com>
To: barnowl-dev@mit.edu



----==_mimepart_502867767b24e_f25194caf41077f9
Date: Sun, 12 Aug 2012 19:33:26 -0700
Mime-Version: 1.0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-ID: <502867767c3c0_f25194caf410789d@sh2.rs.github.com.mail>

  Branch: refs/heads/master
  Home:   https://github.com/barnowl/barnowl
  Commit: 4d9e311c006953157914f0491b8904e796ea3f19
      https://github.com/barnowl/barnowl/commit/4d9e311c006953157914f0491b8904e796ea3f19
  Author: David Benjamin <davidben@mit.edu>
  Date:   2012-08-12 (Sun, 12 Aug 2012)

  Changed paths:
    M owl.c

  Log Message:
  -----------
  Don't do the stderr redirect hack if !isatty(2)

stderr has already been redirected, so there's no point. This way if
barnowl crashes, we have some hope of recovering the stderr by
redirecting it to a file first. The pipe hack is still evil, but this is
somewhat less insane.




----==_mimepart_502867767b24e_f25194caf41077f9--

home help back first fref pref prev next nref lref last post