blob: c2bd94e0f0d918693e5284d425f676cf4a8d35a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Hack to workaround buggy error handling code.
Upstream-status: Not submitted
--- libparistraceroute-0.93.orig/paris-traceroute/paris-traceroute.c
+++ libparistraceroute-0.93/paris-traceroute/paris-traceroute.c
@@ -453,6 +453,7 @@
goto ERR_PT_LOOP;
}
exit_code = EXIT_SUCCESS;
+ errno = 0;
// Leave the program
ERR_PT_LOOP:
--- libparistraceroute-0.93.orig/ping/ping.c
+++ libparistraceroute-0.93/ping/ping.c
@@ -500,6 +500,7 @@
}
exit_code = EXIT_SUCCESS;
+ errno = 0;
// Leave the program
ERR_PT_LOOP:
|