• Stephen Frost's avatar
    Check dup2() results in syslogger · 790eaa69
    Stephen Frost authored
    Consistently check the dup2() call results throughout syslogger.c.
    It's pretty unlikely that they'll error out, but if they do,
    ereport(FATAL) instead of blissfully continuing on.
    
    Spotted by the Coverity scanner.
    790eaa69
syslogger.c 36.3 KB