]> git.kaiwu.me - haproxy.git/commit
[MINOR] don't close stdio fds twice
authorWilly Tarreau <w@1wt.eu>
Sun, 10 May 2009 08:33:29 +0000 (10:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 May 2009 15:57:01 +0000 (17:57 +0200)
commitac053933b34c4c7d9e25fe75f569b70e394245fa
tree2a5af67242760713c243e5ce5adbc52e6e4d812c
parent0d27ec2050a3208150af5dcaeda9dab7a53fdaf7
[MINOR] don't close stdio fds twice

This minor harmless bug dates back to v1.1. When fclose() was added,
the close() calls were not removed, so the fds 0,1,2 are closed twice.
(cherry picked from commit 1700b9c3d5f06ac283ab2e254bd64b1bc7a207ca)
src/haproxy.c