1 diff -up iputils-s20071127/ping_common.c.warnings iputils-s20071127/ping_common.c
2 --- iputils-s20071127/ping_common.c.warnings 2008-06-02 13:29:27.000000000 +0200
3 +++ iputils-s20071127/ping_common.c 2008-06-02 13:29:27.000000000 +0200
4 @@ -338,7 +338,7 @@ resend:
5 * high preload or pipe size is very confusing. */
6 if ((preload < screen_width && pipesize < screen_width) ||
7 in_flight() < screen_width)
8 - write(STDOUT_FILENO, ".", 1);
11 return interval - tokens;
13 @@ -391,7 +391,7 @@ resend:
15 if (i == 0 && !(options & F_QUIET)) {
16 if (options & F_FLOOD)
17 - write(STDOUT_FILENO, "E", 1);
20 perror("ping: sendmsg");
22 @@ -717,9 +717,9 @@ restamp:
24 if (options & F_FLOOD) {
26 - write(STDOUT_FILENO, "\b \b", 3);
29 - write(STDOUT_FILENO, "\bC", 1);
34 diff -up iputils-s20071127/clockdiff.c.warnings iputils-s20071127/clockdiff.c
35 --- iputils-s20071127/clockdiff.c.warnings 2007-11-27 01:57:27.000000000 +0100
36 +++ iputils-s20071127/clockdiff.c 2008-06-02 13:29:27.000000000 +0200
37 @@ -628,8 +628,6 @@ main(int argc, char *argv[])
43 if ((measure_status = (ip_opt_len ? measure_opt : measure)(&server)) < 0) {
46 diff -up iputils-s20071127/ping6.c.warnings iputils-s20071127/ping6.c
47 --- iputils-s20071127/ping6.c.warnings 2008-06-02 13:30:06.000000000 +0200
48 +++ iputils-s20071127/ping6.c 2008-06-02 13:31:14.000000000 +0200
49 @@ -1037,7 +1037,7 @@ int receive_error_msg()
50 if (options & F_QUIET)
52 if (options & F_FLOOD)
53 - write(STDOUT_FILENO, "E", 1);
55 else if (e->ee_errno != EMSGSIZE)
56 fprintf(stderr, "ping: local error: %s\n", strerror(e->ee_errno));
58 @@ -1060,7 +1060,7 @@ int receive_error_msg()
59 if (options & F_QUIET)
61 if (options & F_FLOOD) {
62 - write(STDOUT_FILENO, "\bE", 2);
66 printf("From %s icmp_seq=%u ", pr_addr(&sin6->sin6_addr), ntohs(icmph.icmp6_seq));
67 @@ -1400,7 +1400,7 @@ parse_reply(struct msghdr *msg, int cc,
70 if (options & F_FLOOD) {
71 - write(STDOUT_FILENO, "\bE", 2);
76 diff -up iputils-s20071127/ping.c.warnings iputils-s20071127/ping.c
77 --- iputils-s20071127/ping.c.warnings 2008-06-02 13:29:27.000000000 +0200
78 +++ iputils-s20071127/ping.c 2008-06-02 13:29:27.000000000 +0200
79 @@ -367,7 +367,7 @@ main(int argc, char **argv)
86 if (whereto.sin_addr.s_addr == 0)
87 whereto.sin_addr.s_addr = source.sin_addr.s_addr;
88 @@ -594,7 +594,7 @@ int receive_error_msg()
89 if (options & F_QUIET)
91 if (options & F_FLOOD)
92 - write(STDOUT_FILENO, "E", 1);
94 else if (e->ee_errno != EMSGSIZE)
95 fprintf(stderr, "ping: local error: %s\n", strerror(e->ee_errno));
97 @@ -630,7 +630,7 @@ int receive_error_msg()
98 if (options & F_QUIET)
100 if (options & F_FLOOD) {
101 - write(STDOUT_FILENO, "\bE", 2);
105 printf("From %s icmp_seq=%u ", pr_addr(sin->sin_addr.s_addr), ntohs(icmph.un.echo.sequence));
106 @@ -795,7 +795,7 @@ parse_reply(struct msghdr *msg, int cc,
108 if (options & F_FLOOD) {
110 - write(STDOUT_FILENO, "\bE", 2);
115 @@ -812,9 +812,9 @@ parse_reply(struct msghdr *msg, int cc,
117 if ((options & F_FLOOD) && !(options & (F_VERBOSE|F_QUIET))) {
119 - write(STDOUT_FILENO, "!E", 2);
122 - write(STDOUT_FILENO, "!EC", 3);
126 if (!(options & F_VERBOSE) || uid)