mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
More whitespace normalization
svn:r2768
This commit is contained in:
parent
0f89ec7f4c
commit
21c92dace0
@ -4,22 +4,22 @@ for $fn (@ARGV) {
|
|||||||
open(F, "$fn");
|
open(F, "$fn");
|
||||||
$lastnil = 0;
|
$lastnil = 0;
|
||||||
while (<F>) {
|
while (<F>) {
|
||||||
if (/\r/) {
|
if (/\r/) {
|
||||||
print " CR:$fn:$.\n";
|
print " CR:$fn:$.\n";
|
||||||
}
|
}
|
||||||
if (/\t/) {
|
if (/\t/) {
|
||||||
print " TAB:$fn:$.\n";
|
print " TAB:$fn:$.\n";
|
||||||
}
|
}
|
||||||
if (/ +$/) {
|
if (/ +$/) {
|
||||||
print "Space\@EOL:$fn:$.\n";
|
print "Space\@EOL:$fn:$.\n";
|
||||||
}
|
}
|
||||||
if ($lastnil && /^$/) {
|
if ($lastnil && /^$/) {
|
||||||
print " DoubleNL:$fn:$.\n";
|
print " DoubleNL:$fn:$.\n";
|
||||||
} elsif (/^$/) {
|
} elsif (/^$/) {
|
||||||
$lastnil = 1;
|
$lastnil = 1;
|
||||||
} else {
|
} else {
|
||||||
$lastnil = 0;
|
$lastnil = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close(F);
|
close(F);
|
||||||
}
|
}
|
||||||
|
@ -94,7 +94,6 @@ for fname in files:
|
|||||||
|
|
||||||
print "=============================="
|
print "=============================="
|
||||||
|
|
||||||
|
|
||||||
funcnames = functionCalls.keys()
|
funcnames = functionCalls.keys()
|
||||||
funcnames.sort()
|
funcnames.sort()
|
||||||
|
|
||||||
@ -146,7 +145,6 @@ for func in funcnames:
|
|||||||
for c in calls:
|
for c in calls:
|
||||||
d[c]=1
|
d[c]=1
|
||||||
|
|
||||||
|
|
||||||
cycNames = cycCalls.keys()
|
cycNames = cycCalls.keys()
|
||||||
while 1:
|
while 1:
|
||||||
any = 0
|
any = 0
|
||||||
|
@ -87,7 +87,6 @@ case "$1" in
|
|||||||
$0 start
|
$0 start
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
||||||
status)
|
status)
|
||||||
PID=`cat $TORPID 2>/dev/null`
|
PID=`cat $TORPID 2>/dev/null`
|
||||||
if [ "$PID" != "" ]; then
|
if [ "$PID" != "" ]; then
|
||||||
|
@ -317,7 +317,6 @@ the distant future, stuff may have changed.)
|
|||||||
back an acknowledgement (requesting that more cells be
|
back an acknowledgement (requesting that more cells be
|
||||||
sent to this stream).
|
sent to this stream).
|
||||||
|
|
||||||
|
|
||||||
1.6. Routers, descriptors, and directories
|
1.6. Routers, descriptors, and directories
|
||||||
|
|
||||||
All Tor processes need to keep track of a list of onion routers, for
|
All Tor processes need to keep track of a list of onion routers, for
|
||||||
@ -477,7 +476,6 @@ the distant future, stuff may have changed.)
|
|||||||
|
|
||||||
[XXX insert references]
|
[XXX insert references]
|
||||||
|
|
||||||
|
|
||||||
# ======================================================================
|
# ======================================================================
|
||||||
# Old HACKING document; merge into the above, move into tor-design.tex,
|
# Old HACKING document; merge into the above, move into tor-design.tex,
|
||||||
# or delete.
|
# or delete.
|
||||||
@ -574,7 +572,3 @@ Robustness features.
|
|||||||
|
|
||||||
Currently the code tries for the primary router first, and if it's down,
|
Currently the code tries for the primary router first, and if it's down,
|
||||||
chooses the first available twin.
|
chooses the first available twin.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -563,7 +563,6 @@ TODO: (very soon)
|
|||||||
cells when both a) the window is <= 450, and b) there are less than
|
cells when both a) the window is <= 450, and b) there are less than
|
||||||
ten cell payloads remaining to be flushed at that edge.
|
ten cell payloads remaining to be flushed at that edge.
|
||||||
|
|
||||||
|
|
||||||
7. Directories and routers
|
7. Directories and routers
|
||||||
|
|
||||||
7.1. Extensible information format
|
7.1. Extensible information format
|
||||||
|
@ -296,7 +296,6 @@ knows about, so it can tell which are up and which are down. This
|
|||||||
option is only useful for authoritative directories, so you probably
|
option is only useful for authoritative directories, so you probably
|
||||||
don't want to use it.
|
don't want to use it.
|
||||||
|
|
||||||
|
|
||||||
.SH HIDDEN SERVICE OPTIONS
|
.SH HIDDEN SERVICE OPTIONS
|
||||||
.PP
|
.PP
|
||||||
The following options are used to configure a hidden service.
|
The following options are used to configure a hidden service.
|
||||||
|
Loading…
Reference in New Issue
Block a user