git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fatal-signal: SIGPIPE for Windows.
[sliver-openvswitch.git]
/
utilities
/
ovs-dpctl.c
diff --git
a/utilities/ovs-dpctl.c
b/utilities/ovs-dpctl.c
index
3b1dff1
..
66f87fe
100644
(file)
--- a/
utilities/ovs-dpctl.c
+++ b/
utilities/ovs-dpctl.c
@@
-35,6
+35,7
@@
#include "dirs.h"
#include "dpif.h"
#include "dynamic-string.h"
#include "dirs.h"
#include "dpif.h"
#include "dynamic-string.h"
+#include "fatal-signal.h"
#include "flow.h"
#include "match.h"
#include "netdev.h"
#include "flow.h"
#include "match.h"
#include "netdev.h"
@@
-73,7
+74,7
@@
main(int argc, char *argv[])
{
set_program_name(argv[0]);
parse_options(argc, argv);
{
set_program_name(argv[0]);
parse_options(argc, argv);
-
signal(SIGPIPE, SIG_IGN
);
+
fatal_ignore_sigpipe(
);
run_command(argc - optind, argv + optind, get_all_commands());
return 0;
}
run_command(argc - optind, argv + optind, get_all_commands());
return 0;
}