Skip to content
  • Tor Lillqvist's avatar
    Don't call close() on -1 · 46390c9d
    Tor Lillqvist authored
    Of course, a proper implementation of close() will just ignore an
    invalid parameter silently, and set errno. But apparently the "debug"
    version of the Microsoft C library generates some noise in this
    case. So avoid that. Thanks to John Emmas for reporting.
    46390c9d