Skip to content
  • Leigh B Stoller's avatar
    Fix a troublesome SelfLoader problem caused by AuditFork. Do NOT · 774279a9
    Leigh B Stoller authored
    close the saved STDOUT/STDERR descriptors until the new ones are open
    and dup'ed into fileno 1 and 2, and the LOG descriptor closed. This
    was causing SelfLoader to get confused; it has a wacky test that is
    supposed to look for a fork and reopen the handle on __DATA__, so that
    parent and child have its own fd. Not sure I really understand the
    sequence of events though.
    774279a9