git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f2795f8) | patch
Check dup2() results in syslogger
2014年1月26日 21:26:18 +0000 (16:26 -0500)
2014年1月26日 21:26:18 +0000 (16:26 -0500)
commit 790eaa699e4a9626d8a610ec5844e1fd70d73b4e
Check dup2() results in syslogger

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.
src/backend/postmaster/syslogger.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /