[ovs-dev] [PATCH 2/3] daemon: Close standard file descriptors after detach for windows.
Ben Pfaff
blp at nicira.com
Thu Apr 24 16:27:30 UTC 2014
On Thu, Apr 24, 2014 at 08:31:03AM -0700, Gurucharan Shetty wrote:
> In the unit tests, we check for some logs stored in stderr. In case
> of windows, unit tests fail because the child writes additional information
> into stderr because it does not have it closed. This commit
> closes standard file descriptors for windows too.
>
> Because the functions related to closing file descriptors is common
> for both windows and unix, add it to the common daemonization file
> daemon.c
>
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the dev
mailing list