From: Francois-Xavier Le Bail Date: Mon, 4 Jul 2022 12:08:05 +0000 (+0200) Subject: Fix some typos X-Git-Tag: tcpdump-4.99.2~93 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/0bf35f8f6070f747ffe79ae4f4c94dff32057778?ds=inline Fix some typos [skip ci] --- diff --git a/aclocal.m4 b/aclocal.m4 index 3c864269..18eac311 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 8811e665..40f70ad3 100755 --- a/configure +++ b/configure @@ -7040,7 +7040,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 @@ -7092,7 +7092,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 @@ -7144,7 +7144,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 @@ -7196,7 +7196,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 @@ -7248,7 +7248,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 @@ -7300,7 +7300,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 @@ -7352,7 +7352,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 @@ -7404,7 +7404,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 @@ -7456,7 +7456,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 @@ -7508,7 +7508,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 @@ -7560,7 +7560,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 @@ -7612,7 +7612,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 @@ -7664,7 +7664,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 @@ -7716,7 +7716,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 @@ -7768,7 +7768,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 @@ -7820,7 +7820,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 8cb73c99..09f64dac 100644 --- a/netdissect.h +++ b/netdissect.h @@ -175,7 +175,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 @@ -442,7 +442,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/util-print.c b/util-print.c index 2e3bc24d..0b7f0883 100644 --- a/util-print.c +++ b/util-print.c @@ -917,7 +917,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?