Skip to content

Commit b553898

Browse files
author
MDW
committed
qual: fix trailing whitespace
1 parent 806dff2 commit b553898

55 files changed

Lines changed: 366 additions & 366 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Doxyfile

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ TAB_SIZE = 8
3535
GENERATE_TODOLIST = YES
3636
GENERATE_TESTLIST = YES
3737
GENERATE_BUGLIST = YES
38-
ALIASES =
39-
ENABLED_SECTIONS =
38+
ALIASES =
39+
ENABLED_SECTIONS =
4040
MAX_INITIALIZER_LINES = 30
4141
OPTIMIZE_OUTPUT_FOR_C = YES
4242
OPTIMIZE_OUTPUT_JAVA = NO
@@ -48,7 +48,7 @@ QUIET = NO
4848
WARNINGS = NO
4949
WARN_IF_UNDOCUMENTED = NO
5050
WARN_FORMAT = "$file:$line: $text"
51-
WARN_LOGFILE =
51+
WARN_LOGFILE =
5252
#---------------------------------------------------------------------------
5353
# configuration options related to the input files
5454
#---------------------------------------------------------------------------
@@ -60,12 +60,12 @@ EXCLUDE = proto.h \
6060
zlib \
6161
popt
6262
EXCLUDE_SYMLINKS = NO
63-
EXCLUDE_PATTERNS =
64-
EXAMPLE_PATH =
65-
EXAMPLE_PATTERNS =
63+
EXCLUDE_PATTERNS =
64+
EXAMPLE_PATH =
65+
EXAMPLE_PATTERNS =
6666
EXAMPLE_RECURSIVE = NO
67-
IMAGE_PATH =
68-
INPUT_FILTER =
67+
IMAGE_PATH =
68+
INPUT_FILTER =
6969
FILTER_SOURCE_FILES = NO
7070
#---------------------------------------------------------------------------
7171
# configuration options related to source browsing
@@ -79,16 +79,16 @@ REFERENCES_RELATION = YES
7979
#---------------------------------------------------------------------------
8080
ALPHABETICAL_INDEX = YES
8181
COLS_IN_ALPHA_INDEX = 3
82-
IGNORE_PREFIX =
82+
IGNORE_PREFIX =
8383
#---------------------------------------------------------------------------
8484
# configuration options related to the HTML output
8585
#---------------------------------------------------------------------------
8686
GENERATE_HTML = YES
8787
HTML_OUTPUT = html
8888
HTML_FILE_EXTENSION = .html
89-
HTML_HEADER =
90-
HTML_FOOTER =
91-
HTML_STYLESHEET =
89+
HTML_HEADER =
90+
HTML_FOOTER =
91+
HTML_STYLESHEET =
9292
HTML_ALIGN_MEMBERS = YES
9393
GENERATE_HTMLHELP = NO
9494
GENERATE_CHI = NO
@@ -107,8 +107,8 @@ LATEX_CMD_NAME = latex
107107
MAKEINDEX_CMD_NAME = makeindex
108108
COMPACT_LATEX = NO
109109
PAPER_TYPE = a4wide
110-
EXTRA_PACKAGES =
111-
LATEX_HEADER =
110+
EXTRA_PACKAGES =
111+
LATEX_HEADER =
112112
PDF_HYPERLINKS = YES
113113
USE_PDFLATEX = YES
114114
LATEX_BATCHMODE = YES
@@ -119,8 +119,8 @@ GENERATE_RTF = NO
119119
RTF_OUTPUT = rtf
120120
COMPACT_RTF = NO
121121
RTF_HYPERLINKS = NO
122-
RTF_STYLESHEET_FILE =
123-
RTF_EXTENSIONS_FILE =
122+
RTF_STYLESHEET_FILE =
123+
RTF_EXTENSIONS_FILE =
124124
#---------------------------------------------------------------------------
125125
# configuration options related to the man page output
126126
#---------------------------------------------------------------------------
@@ -137,27 +137,27 @@ GENERATE_XML = NO
137137
#---------------------------------------------------------------------------
138138
GENERATE_AUTOGEN_DEF = NO
139139
#---------------------------------------------------------------------------
140-
# Configuration options related to the preprocessor
140+
# Configuration options related to the preprocessor
141141
#---------------------------------------------------------------------------
142142
ENABLE_PREPROCESSING = NO
143143
MACRO_EXPANSION = NO
144144
EXPAND_ONLY_PREDEF = NO
145145
SEARCH_INCLUDES = YES
146-
INCLUDE_PATH =
147-
INCLUDE_FILE_PATTERNS =
148-
PREDEFINED =
149-
EXPAND_AS_DEFINED =
146+
INCLUDE_PATH =
147+
INCLUDE_FILE_PATTERNS =
148+
PREDEFINED =
149+
EXPAND_AS_DEFINED =
150150
SKIP_FUNCTION_MACROS = YES
151151
#---------------------------------------------------------------------------
152-
# Configuration::addtions related to external references
152+
# Configuration::addtions related to external references
153153
#---------------------------------------------------------------------------
154-
TAGFILES =
155-
GENERATE_TAGFILE =
154+
TAGFILES =
155+
GENERATE_TAGFILE =
156156
ALLEXTERNALS = NO
157157
EXTERNAL_GROUPS = YES
158158
PERL_PATH = /usr/bin/perl
159159
#---------------------------------------------------------------------------
160-
# Configuration options related to the dot tool
160+
# Configuration options related to the dot tool
161161
#---------------------------------------------------------------------------
162162
CLASS_DIAGRAMS = YES
163163
HAVE_DOT = YES
@@ -169,19 +169,19 @@ INCLUDE_GRAPH = YES
169169
INCLUDED_BY_GRAPH = YES
170170
GRAPHICAL_HIERARCHY = YES
171171
DOT_IMAGE_FORMAT = png
172-
DOT_PATH =
173-
DOTFILE_DIRS =
172+
DOT_PATH =
173+
DOTFILE_DIRS =
174174
MAX_DOT_GRAPH_WIDTH = 1024
175175
MAX_DOT_GRAPH_HEIGHT = 1024
176176
GENERATE_LEGEND = YES
177177
DOT_CLEANUP = YES
178178
#---------------------------------------------------------------------------
179-
# Configuration::addtions related to the search engine
179+
# Configuration::addtions related to the search engine
180180
#---------------------------------------------------------------------------
181181
SEARCHENGINE = NO
182182
CGI_NAME = search.cgi
183-
CGI_URL =
184-
DOC_URL =
185-
DOC_ABSPATH =
183+
CGI_URL =
184+
DOC_URL =
185+
DOC_ABSPATH =
186186
BIN_ABSPATH = /usr/local/bin/
187-
EXT_DOC_PATHS =
187+
EXT_DOC_PATHS =

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ to develop and test fixes.
374374
- CVE-2024-12084 - Heap Buffer Overflow in Checksum Parsing.
375375

376376
- CVE-2024-12085 - Info Leak via uninitialized Stack contents defeats ASLR.
377-
377+
378378
- CVE-2024-12086 - Server leaks arbitrary client files.
379379

380380
- CVE-2024-12087 - Server can make client write files outside of destination directory using symbolic links.

TODO

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Handling IPv6 on old machines
112112

113113

114114
Other IPv6 stuff
115-
115+
116116
Implement suggestions from http://www.kame.net/newsletter/19980604/
117117
and ftp://ftp.iij.ad.jp/pub/RFC/rfc2553.txt
118118

@@ -290,7 +290,7 @@ Log child death on signal
290290

291291

292292
verbose output David Stein 2001/12/20
293-
293+
294294
At end of transfer, show how many files were or were not transferred
295295
correctly.
296296

@@ -333,7 +333,7 @@ Use generic zlib 2002/02/25
333333
Perhaps don't use our own zlib.
334334

335335
Advantages:
336-
336+
337337
- will automatically be up to date with bugfixes in zlib
338338

339339
- can leave it out for small rsync on e.g. recovery disks

csprotocol.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Protocol version changes
103103
The use of a ".<subprotocol>" number was added to
104104
@RSYNCD: <version>.<subprotocol>
105105

106-
25 (2001-08-20, 2.4.7pre2)
106+
25 (2001-08-20, 2.4.7pre2)
107107

108108
Send an explicit "@RSYNC EXIT" command at the end of the
109109
module listing. We never intentionally end the transmission

install-sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ fi
103103
if [ x"$dir_arg" != x ]; then
104104
dst=$src
105105
src=""
106-
106+
107107
if [ -d $dst ]; then
108108
instcmd=:
109109
else
@@ -112,7 +112,7 @@ if [ x"$dir_arg" != x ]; then
112112
else
113113

114114
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
115-
# might cause directories to be created, which would be especially bad
115+
# might cause directories to be created, which would be especially bad
116116
# if $src (and thus $dsttmp) contains '*'.
117117

118118
if [ -f $src ] || [ -d $src ]
@@ -122,7 +122,7 @@ else
122122
echo "install: $src does not exist"
123123
exit 1
124124
fi
125-
125+
126126
if [ x"$dst" = x ]
127127
then
128128
echo "install: no destination specified"
@@ -150,7 +150,7 @@ dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
150150

151151
# Skip lots of stat calls in the usual case.
152152
if [ ! -d "$dstdir" ]; then
153-
defaultIFS='
153+
defaultIFS='
154154
'
155155
IFS="${IFS-${defaultIFS}}"
156156

@@ -189,17 +189,17 @@ else
189189

190190
# If we're going to rename the final executable, determine the name now.
191191

192-
if [ x"$transformarg" = x ]
192+
if [ x"$transformarg" = x ]
193193
then
194194
dstfile=`basename $dst`
195195
else
196-
dstfile=`basename $dst $transformbasename |
196+
dstfile=`basename $dst $transformbasename |
197197
sed $transformarg`$transformbasename
198198
fi
199199

200200
# don't allow the sed command to completely eliminate the filename
201201

202-
if [ x"$dstfile" = x ]
202+
if [ x"$dstfile" = x ]
203203
then
204204
dstfile=`basename $dst`
205205
else
@@ -230,7 +230,7 @@ else
230230
# Now rename the file to the real destination.
231231

232232
$doit $rmcmd -f $dstdir/$dstfile &&
233-
$doit $mvcmd $dsttmp $dstdir/$dstfile
233+
$doit $mvcmd $dsttmp $dstdir/$dstfile
234234

235235
fi &&
236236

lib/mdfour.c

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
/*
1+
/*
22
* Unix SMB/Netbios implementation.
33
* Version 1.9.
44
* An implementation of MD4 designed for use in the SMB authentication protocol.
55
*
66
* Copyright (C) 1997-1998 Andrew Tridgell
77
* Copyright (C) 2005-2020 Wayne Davison
8-
*
8+
*
99
* This program is free software; you can redistribute it and/or modify
1010
* it under the terms of the GNU General Public License as published by
1111
* the Free Software Foundation; either version 3 of the License, or
1212
* (at your option) any later version.
13-
*
13+
*
1414
* This program is distributed in the hope that it will be useful,
1515
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1616
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1717
* GNU General Public License for more details.
18-
*
18+
*
1919
* You should have received a copy of the GNU General Public License along
2020
* with this program; if not, visit the http://fsf.org website.
2121
*/
2222

2323
#include "rsync.h"
2424

25-
/* NOTE: This code makes no attempt to be fast!
25+
/* NOTE: This code makes no attempt to be fast!
2626
*
2727
* It assumes that a int is at least 32 bits long. */
2828

@@ -45,40 +45,40 @@ static void mdfour64(uint32 *M)
4545
uint32 AA, BB, CC, DD;
4646
uint32 A,B,C,D;
4747

48-
A = m->A; B = m->B; C = m->C; D = m->D;
48+
A = m->A; B = m->B; C = m->C; D = m->D;
4949
AA = A; BB = B; CC = C; DD = D;
5050

51-
ROUND1(A,B,C,D, 0, 3); ROUND1(D,A,B,C, 1, 7);
51+
ROUND1(A,B,C,D, 0, 3); ROUND1(D,A,B,C, 1, 7);
5252
ROUND1(C,D,A,B, 2, 11); ROUND1(B,C,D,A, 3, 19);
53-
ROUND1(A,B,C,D, 4, 3); ROUND1(D,A,B,C, 5, 7);
53+
ROUND1(A,B,C,D, 4, 3); ROUND1(D,A,B,C, 5, 7);
5454
ROUND1(C,D,A,B, 6, 11); ROUND1(B,C,D,A, 7, 19);
55-
ROUND1(A,B,C,D, 8, 3); ROUND1(D,A,B,C, 9, 7);
55+
ROUND1(A,B,C,D, 8, 3); ROUND1(D,A,B,C, 9, 7);
5656
ROUND1(C,D,A,B, 10, 11); ROUND1(B,C,D,A, 11, 19);
57-
ROUND1(A,B,C,D, 12, 3); ROUND1(D,A,B,C, 13, 7);
58-
ROUND1(C,D,A,B, 14, 11); ROUND1(B,C,D,A, 15, 19);
57+
ROUND1(A,B,C,D, 12, 3); ROUND1(D,A,B,C, 13, 7);
58+
ROUND1(C,D,A,B, 14, 11); ROUND1(B,C,D,A, 15, 19);
5959

60-
ROUND2(A,B,C,D, 0, 3); ROUND2(D,A,B,C, 4, 5);
60+
ROUND2(A,B,C,D, 0, 3); ROUND2(D,A,B,C, 4, 5);
6161
ROUND2(C,D,A,B, 8, 9); ROUND2(B,C,D,A, 12, 13);
62-
ROUND2(A,B,C,D, 1, 3); ROUND2(D,A,B,C, 5, 5);
62+
ROUND2(A,B,C,D, 1, 3); ROUND2(D,A,B,C, 5, 5);
6363
ROUND2(C,D,A,B, 9, 9); ROUND2(B,C,D,A, 13, 13);
64-
ROUND2(A,B,C,D, 2, 3); ROUND2(D,A,B,C, 6, 5);
64+
ROUND2(A,B,C,D, 2, 3); ROUND2(D,A,B,C, 6, 5);
6565
ROUND2(C,D,A,B, 10, 9); ROUND2(B,C,D,A, 14, 13);
66-
ROUND2(A,B,C,D, 3, 3); ROUND2(D,A,B,C, 7, 5);
66+
ROUND2(A,B,C,D, 3, 3); ROUND2(D,A,B,C, 7, 5);
6767
ROUND2(C,D,A,B, 11, 9); ROUND2(B,C,D,A, 15, 13);
6868

69-
ROUND3(A,B,C,D, 0, 3); ROUND3(D,A,B,C, 8, 9);
69+
ROUND3(A,B,C,D, 0, 3); ROUND3(D,A,B,C, 8, 9);
7070
ROUND3(C,D,A,B, 4, 11); ROUND3(B,C,D,A, 12, 15);
71-
ROUND3(A,B,C,D, 2, 3); ROUND3(D,A,B,C, 10, 9);
71+
ROUND3(A,B,C,D, 2, 3); ROUND3(D,A,B,C, 10, 9);
7272
ROUND3(C,D,A,B, 6, 11); ROUND3(B,C,D,A, 14, 15);
73-
ROUND3(A,B,C,D, 1, 3); ROUND3(D,A,B,C, 9, 9);
73+
ROUND3(A,B,C,D, 1, 3); ROUND3(D,A,B,C, 9, 9);
7474
ROUND3(C,D,A,B, 5, 11); ROUND3(B,C,D,A, 13, 15);
75-
ROUND3(A,B,C,D, 3, 3); ROUND3(D,A,B,C, 11, 9);
75+
ROUND3(A,B,C,D, 3, 3); ROUND3(D,A,B,C, 11, 9);
7676
ROUND3(C,D,A,B, 7, 11); ROUND3(B,C,D,A, 15, 15);
7777

78-
A += AA; B += BB;
78+
A += AA; B += BB;
7979
C += CC; D += DD;
80-
81-
A &= MASK32; B &= MASK32;
80+
81+
A &= MASK32; B &= MASK32;
8282
C &= MASK32; D &= MASK32;
8383

8484
m->A = A; m->B = B; m->C = C; m->D = D;
@@ -144,15 +144,15 @@ static void mdfour_tail(const uchar *in, uint32 length)
144144
copy64(M, buf);
145145
mdfour64(M);
146146
} else {
147-
copy4(buf+120, m->totalN);
147+
copy4(buf+120, m->totalN);
148148
/*
149149
* Prior to protocol version 27 only the number of bits
150150
* modulo 2^32 was included. MD4 requires the number
151151
* of bits modulo 2^64, which was fixed starting with
152152
* protocol version 27.
153153
*/
154154
if (protocol_version >= 27)
155-
copy4(buf+124, m->totalN2);
155+
copy4(buf+124, m->totalN2);
156156
copy64(M, buf);
157157
mdfour64(M);
158158
copy64(M, buf+64);
@@ -210,13 +210,13 @@ static void file_checksum1(char *fname)
210210
int fd, i, was_multiple_of_64 = 1;
211211
md_context md;
212212
uchar buf[64*1024], sum[MD4_DIGEST_LEN];
213-
213+
214214
fd = open(fname,O_RDONLY);
215215
if (fd == -1) {
216216
perror("fname");
217217
exit(1);
218218
}
219-
219+
220220
mdfour_begin(&md);
221221

222222
while (1) {

lib/pool_alloc.3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ all at the same time without interfering with how pools work.
8383
Creates an allocation pool for subsequent calls to the pool
8484
allocation functions.
8585
When an extent is created for allocations it will be
86-
.I size
86+
.I size
8787
bytes.
8888
Allocations from the pool have their sizes rounded up to a
8989
multiple of
@@ -202,7 +202,7 @@ and
202202
on the same pool!
203203
.P
204204
.B pool_boundary()
205-
asks for a boundary value that can be sent to
205+
asks for a boundary value that can be sent to
206206
.B pool_free_old()
207207
at a later time to free up all memory allocated prior to a particular
208208
moment in time.

0 commit comments

Comments
 (0)