From: Francois-Xavier Le Bail Date: Fri, 8 Nov 2019 16:08:21 +0000 (+0100) Subject: Cleaning spaces X-Git-Tag: libpcap-1.10-bp~331 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/88a0f88dbe73f57b69940d1ede8d0eb375f13095 Cleaning spaces [skip ci] --- diff --git a/aclocal.m4 b/aclocal.m4 index 6e7937c1..df426aa5 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -485,7 +485,7 @@ AC_DEFUN(AC_LBL_SHLIBS_INIT, ;; freebsd*|netbsd*|openbsd*|dragonfly*|linux*|osf*|haiku*|midipix*) - # + # # Platforms where the linker is the GNU linker # or accepts command-line arguments like # those the GNU linker accepts. @@ -514,7 +514,7 @@ AC_DEFUN(AC_LBL_SHLIBS_INIT, hpux*) V_SHLIB_CCOPT="$V_SHLIB_CCOPT -fpic" - # + # # XXX - this assumes GCC is using the HP linker, # rather than the GNU linker, and that the "+h" # option is used on all HP-UX platforms, both .sl @@ -590,7 +590,7 @@ AC_DEFUN(AC_LBL_SHLIBS_INIT, ;; osf*) - # + # # Presumed to be DEC OSF/1, Digital UNIX, or # Tru64 UNIX. # diff --git a/configure b/configure index b2b8ebae..4cfb735e 100755 --- a/configure +++ b/configure @@ -4314,7 +4314,7 @@ $as_echo "#define const /**/" >>confdefs.h ;; freebsd*|netbsd*|openbsd*|dragonfly*|linux*|osf*|haiku*|midipix*) - # + # # Platforms where the linker is the GNU linker # or accepts command-line arguments like # those the GNU linker accepts. @@ -4343,7 +4343,7 @@ $as_echo "#define const /**/" >>confdefs.h hpux*) V_SHLIB_CCOPT="$V_SHLIB_CCOPT -fpic" - # + # # XXX - this assumes GCC is using the HP linker, # rather than the GNU linker, and that the "+h" # option is used on all HP-UX platforms, both .sl @@ -4419,7 +4419,7 @@ $as_echo "#define const /**/" >>confdefs.h ;; osf*) - # + # # Presumed to be DEC OSF/1, Digital UNIX, or # Tru64 UNIX. # @@ -6739,7 +6739,7 @@ if test "x$ac_cv_lib_dlpi_dlpi_walk" = xyes; then : # Capture module plus common code needed for # common functions used by pcap-[dlpi,libdlpi].c # - PLATFORM_C_SRC="pcap-libdlpi.c dlpisubs.c" + PLATFORM_C_SRC="pcap-libdlpi.c dlpisubs.c" $as_echo "#define HAVE_LIBDLPI 1" >>confdefs.h @@ -6752,7 +6752,7 @@ else # Capture module plus common code needed for # common functions used by pcap-[dlpi,libdlpi].c # - PLATFORM_C_SRC="pcap-dlpi.c dlpisubs.c" + PLATFORM_C_SRC="pcap-dlpi.c dlpisubs.c" fi @@ -7842,7 +7842,7 @@ $as_echo "#define HAVE_DAG_API 1" >>confdefs.h fi if test "$want_dag" = yes; then - # User wanted DAG support but we couldn't find it. + # User wanted DAG support but we couldn't find it. as_fn_error $? "DAG support requested with --with-dag, but the DAG headers weren't found at $dag_include_dir: make sure the DAG support is installed, specify a different path or paths if necessary, or don't request DAG support" "$LINENO" 5 fi fi @@ -7928,7 +7928,7 @@ $as_echo "no" >&6; } fi if test "$want_septel" = yes; then - # User wanted Septel support but we couldn't find it. + # User wanted Septel support but we couldn't find it. as_fn_error $? "Septel support requested with --with-septel, but the Septel headers weren't found at $septel_include_dir: make sure the Septel support is installed, specify a different path or paths if necessary, or don't request Septel support" "$LINENO" 5 fi fi @@ -8183,7 +8183,7 @@ $as_echo "#define HAVE_TC_API 1" >>confdefs.h $as_echo "no" >&6; } if test "$want_turbocap" = yes; then - # User wanted Turbo support but we couldn't find it. + # User wanted Turbo support but we couldn't find it. as_fn_error $? "TurboCap support requested with --with-turbocap, but the TurboCap headers weren't found: make sure the TurboCap support is installed or don't request TurboCap support" "$LINENO" 5 fi fi @@ -11395,7 +11395,7 @@ $as_echo "#define PCAP_SUPPORT_DPDK 1" >>confdefs.h fi if test "$want_dpdk" = yes; then - # User wanted DPDK support but we couldn't find it. + # User wanted DPDK support but we couldn't find it. as_fn_error $? "DPDK support requested with --with-pcap=dpdk, but the DPDK headers weren't found at $dpdk_inc_dir: make sure the DPDK support is installed, specify a different path or paths if necessary, or don't request DPDK support" "$LINENO" 5 fi fi diff --git a/configure.ac b/configure.ac index b60a8cc1..a41abaf3 100644 --- a/configure.ac +++ b/configure.ac @@ -778,7 +778,7 @@ dlpi) # Capture module plus common code needed for # common functions used by pcap-[dlpi,libdlpi].c # - PLATFORM_C_SRC="pcap-libdlpi.c dlpisubs.c" + PLATFORM_C_SRC="pcap-libdlpi.c dlpisubs.c" AC_DEFINE(HAVE_LIBDLPI,1,[if libdlpi exists]) ], [ @@ -788,7 +788,7 @@ dlpi) # Capture module plus common code needed for # common functions used by pcap-[dlpi,libdlpi].c # - PLATFORM_C_SRC="pcap-dlpi.c dlpisubs.c" + PLATFORM_C_SRC="pcap-dlpi.c dlpisubs.c" ]) LDFLAGS=$saved_ldflags @@ -1310,7 +1310,7 @@ if test "$want_dag" != no; then fi if test "$want_dag" = yes; then - # User wanted DAG support but we couldn't find it. + # User wanted DAG support but we couldn't find it. AC_MSG_ERROR([DAG support requested with --with-dag, but the DAG headers weren't found at $dag_include_dir: make sure the DAG support is installed, specify a different path or paths if necessary, or don't request DAG support]) fi fi @@ -1386,7 +1386,7 @@ if test "$with_septel" != no; then fi if test "$want_septel" = yes; then - # User wanted Septel support but we couldn't find it. + # User wanted Septel support but we couldn't find it. AC_MSG_ERROR([Septel support requested with --with-septel, but the Septel headers weren't found at $septel_include_dir: make sure the Septel support is installed, specify a different path or paths if necessary, or don't request Septel support]) fi fi @@ -1565,7 +1565,7 @@ if test "$want_turbocap" != no; then AC_MSG_RESULT(no) if test "$want_turbocap" = yes; then - # User wanted Turbo support but we couldn't find it. + # User wanted Turbo support but we couldn't find it. AC_MSG_ERROR([TurboCap support requested with --with-turbocap, but the TurboCap headers weren't found: make sure the TurboCap support is installed or don't request TurboCap support]) fi fi @@ -2455,7 +2455,7 @@ AC_INCLUDES_DEFAULT fi if test "$want_dpdk" = yes; then - # User wanted DPDK support but we couldn't find it. + # User wanted DPDK support but we couldn't find it. AC_MSG_ERROR([DPDK support requested with --with-pcap=dpdk, but the DPDK headers weren't found at $dpdk_inc_dir: make sure the DPDK support is installed, specify a different path or paths if necessary, or don't request DPDK support]) fi fi diff --git a/missing/getopt.c b/missing/getopt.c index a3d50cb3..c535776d 100644 --- a/missing/getopt.c +++ b/missing/getopt.c @@ -123,7 +123,7 @@ getopt(int nargc, char * const *nargv, const char *ostr) __progname, optopt); return (BADCH); } - else /* white space */ + else /* white space */ optarg = nargv[optind]; place = EMSG; ++optind; diff --git a/pcap-sita.html b/pcap-sita.html index 4a8fe1a2..2be0bf81 100644 --- a/pcap-sita.html +++ b/pcap-sita.html @@ -635,7 +635,7 @@ A { text-decoration:none } BPF program 'n' 8 bytes of each command (repeated 'n' times).
- Each command consists of that C-style structure which contains: + Each command consists of that C-style structure which contains:

diff --git a/rpcapd/rpcapd.c b/rpcapd/rpcapd.c index ecb88955..bfb6e6a0 100644 --- a/rpcapd/rpcapd.c +++ b/rpcapd/rpcapd.c @@ -965,8 +965,8 @@ accept_connections(void) // // Did an error occur? // - if (network_events.iErrorCode[FD_ACCEPT_BIT] != 0) - { + if (network_events.iErrorCode[FD_ACCEPT_BIT] != 0) + { // // Yes - report it and keep going. //