From: Francois-Xavier Le Bail Date: Mon, 4 Jul 2022 09:58:59 +0000 (+0200) Subject: Fix some typos X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/7d2bc7fcb5961992d7d69fcdba3079931ca301b6?ds=inline Fix some typos [skip ci] --- diff --git a/aclocal.m4 b/aclocal.m4 index 1b2e255a..cf511c6b 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -243,7 +243,7 @@ AC_DEFUN(AC_LBL_CHECK_COMPILER_OPT, # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # AC_COMPILE_IFELSE( diff --git a/configure b/configure index e8fa9418..97fc63bb 100755 --- a/configure +++ b/configure @@ -7113,7 +7113,7 @@ $as_echo_n "checking whether the compiler supports the -W option... " >&6; } # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7165,7 +7165,7 @@ $as_echo_n "checking whether the compiler supports the -Wall option... " >&6; } # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7217,7 +7217,7 @@ $as_echo_n "checking whether the compiler supports the -Wassign-enum option... " # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7269,7 +7269,7 @@ $as_echo_n "checking whether the compiler supports the -Wcast-qual option... " > # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7321,7 +7321,7 @@ $as_echo_n "checking whether the compiler supports the -Wmissing-prototypes opti # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7373,7 +7373,7 @@ $as_echo_n "checking whether the compiler supports the -Wmissing-variable-declar # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7425,7 +7425,7 @@ $as_echo_n "checking whether the compiler supports the -Wold-style-definition op # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7477,7 +7477,7 @@ $as_echo_n "checking whether the compiler supports the -Wpedantic option... " >& # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7529,7 +7529,7 @@ $as_echo_n "checking whether the compiler supports the -Wpointer-arith option... # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7581,7 +7581,7 @@ $as_echo_n "checking whether the compiler supports the -Wpointer-sign option... # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7633,7 +7633,7 @@ $as_echo_n "checking whether the compiler supports the -Wshadow option... " >&6; # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7685,7 +7685,7 @@ $as_echo_n "checking whether the compiler supports the -Wsign-compare option... # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7737,7 +7737,7 @@ $as_echo_n "checking whether the compiler supports the -Wstrict-prototypes optio # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7789,7 +7789,7 @@ $as_echo_n "checking whether the compiler supports the -Wunreachable-code-return # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7841,7 +7841,7 @@ $as_echo_n "checking whether the compiler supports the -Wused-but-marked-unused # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7893,7 +7893,7 @@ $as_echo_n "checking whether the compiler supports the -Wwrite-strings option... # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us # - # This may, as per those two messages, be fixed in autoonf 2.70, + # This may, as per those two messages, be fixed in autoconf 2.70, # but we only require 2.64 or newer for now. # cat confdefs.h - <<_ACEOF >conftest.$ac_ext diff --git a/extract.h b/extract.h index 685fe95e..d7d803df 100644 --- a/extract.h +++ b/extract.h @@ -149,7 +149,7 @@ EXTRACT_IPV4_TO_HOST_ORDER(const void *p) * cast the pointer to point to one of those, and fetch through it; * the GCC manual doesn't appear to explicitly say that * __attribute__((packed)) causes the compiler to generate unaligned-safe - * code, but it apppears to do so. + * code, but it appears to do so. * * We do this in case the compiler can generate code using those * instructions to do an unaligned load and pass stuff to "ntohs()" or diff --git a/netdissect-ctype.h b/netdissect-ctype.h index ae4a3ce0..9f82200e 100644 --- a/netdissect-ctype.h +++ b/netdissect-ctype.h @@ -42,7 +42,7 @@ #define ND_TOASCII(c) ((c) & 0x7F) /* - * Locale-independent macros for coverting to upper or lower case. + * Locale-independent macros for converting to upper or lower case. * * Byte values outside the ASCII range are not converted. Byte values * *in* the ASCII range are converted to byte values in the ASCII range; diff --git a/netdissect.h b/netdissect.h index 056f201c..ce878abe 100644 --- a/netdissect.h +++ b/netdissect.h @@ -177,7 +177,7 @@ typedef void (*if_printer) IF_PRINTER_ARGS; * buffer, we free the current buffer and pop the previous one off the * stack. * - * A buffer has a beginnning and end pointer, and a link to the previous + * A buffer has a beginning and end pointer, and a link to the previous * buffer on the stack. * * In other cases, we temporarily adjust the snapshot end to reflect a @@ -459,7 +459,7 @@ extern void txtproto_print(netdissect_options *, const u_char *, u_int, (defined(__s390__) || defined(__s390x__) || defined(__zarch__)) || \ defined(__vax__) /* - * The procesor natively handles unaligned loads, so just use memcpy() + * The processor natively handles unaligned loads, so just use memcpy() * and memcmp(), to enable those optimizations. * * XXX - are those all the x86 tests we need? diff --git a/print-arp.c b/print-arp.c index 7d3efe74..9c085029 100644 --- a/print-arp.c +++ b/print-arp.c @@ -64,7 +64,7 @@ struct arp_pkthdr { #define ARPOP_REVREPLY 4 /* response giving protocol address */ #define ARPOP_INVREQUEST 8 /* request to identify peer */ #define ARPOP_INVREPLY 9 /* response identifying peer */ -#define ARPOP_NAK 10 /* NAK - only valif for ATM ARP */ +#define ARPOP_NAK 10 /* NAK - only valid for ATM ARP */ /* * The remaining fields are variable in size, diff --git a/print-igrp.c b/print-igrp.c index 0efc78af..23dc1f56 100644 --- a/print-igrp.c +++ b/print-igrp.c @@ -44,7 +44,7 @@ struct igrphdr { nd_uint16_t ig_as; /* autonomous system number */ nd_uint16_t ig_ni; /* number of subnet in local net */ nd_uint16_t ig_ns; /* number of networks in AS */ - nd_uint16_t ig_nx; /* number of networks ouside AS */ + nd_uint16_t ig_nx; /* number of networks outside AS */ nd_uint16_t ig_sum; /* checksum of IGRP header & data */ }; diff --git a/print-ip6.c b/print-ip6.c index 82948334..47398cf0 100644 --- a/print-ip6.c +++ b/print-ip6.c @@ -441,7 +441,7 @@ ip6_print(netdissect_options *ndo, const u_char *bp, u_int length) goto trunc; /* - * OK, we didn't see any extnesion + * OK, we didn't see any extension * header, but that means we have * no payload, so set the length * to the IPv6 header length, diff --git a/print-stp.c b/print-stp.c index 5030b219..a4d49c47 100644 --- a/print-stp.c +++ b/print-stp.c @@ -144,7 +144,7 @@ stp_print_config_bpdu(netdissect_options *ndo, const struct stp_bpdu_ *stp_bpdu, * * 2 - bytes Protocol Id * 1 - byte Protocol Ver. - * 1 - byte BPDU tye + * 1 - byte BPDU type * 1 - byte Flags * 8 - bytes CIST Root Identifier * 4 - bytes CIST External Path Cost diff --git a/slcompress.h b/slcompress.h index 644c7559..22d51f9a 100644 --- a/slcompress.h +++ b/slcompress.h @@ -14,7 +14,7 @@ * from this software without specific prior written permission. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * * Van Jacobson (van@ee.lbl.gov), Dec 31, 1989: * - Initial distribution. diff --git a/tcpdump.1.in b/tcpdump.1.in index 3c019231..fb109d12 100644 --- a/tcpdump.1.in +++ b/tcpdump.1.in @@ -666,7 +666,7 @@ Print every \fInth\fP packet. This option enables the \fB--print\fP flag. .IP Unprinted packets are not parsed, which decreases processing time. Setting \fInth\fP to \fB100\fP for example, will (counting from 1) parse and print the -100th packet, 200th patcket, 300th packet, and so on. +100th packet, 200th packet, 300th packet, and so on. .IP This option also enables the \fB-S\fP flag, as relative TCP sequence numbers are not tracked for unprinted packets. diff --git a/util-print.c b/util-print.c index f5a7c622..6d408d15 100644 --- a/util-print.c +++ b/util-print.c @@ -925,7 +925,7 @@ txtproto_print(netdissect_options *ndo, const u_char *pptr, u_int len, (defined(__s390__) || defined(__s390x__) || defined(__zarch__)) || \ defined(__vax__) /* - * The procesor natively handles unaligned loads, so just use memcpy() + * The processor natively handles unaligned loads, so just use memcpy() * and memcmp(), to enable those optimizations. * * XXX - are those all the x86 tests we need?