tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit f1d371bf32d33cee95df1b13daa43686f81d94ef
parent 573ab70bfe4c6239a3fffda89b1a95e4e7ca10aa
Author: Nick Mathewson <nickm@torproject.org>
Date:   Tue, 17 Dec 2019 13:58:01 -0500

checkSpace: remove the nosplabel test.

Diffstat:
Mscripts/maint/checkSpace.pl | 6+++---
Mscripts/maint/checkspace_tests/expected.txt | 1-
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/scripts/maint/checkSpace.pl b/scripts/maint/checkSpace.pl @@ -58,9 +58,9 @@ for my $fn (@ARGV) { } ## Warn about labels that don't have a space in front of them # (We indent every label at least one space) - if (/^[a-zA-Z_][a-zA-Z_0-9]*:/) { - msg "nosplabel:$fn:$.\n"; - } + #if (/^[a-zA-Z_][a-zA-Z_0-9]*:/) { + # msg "nosplabel:$fn:$.\n"; + #} ## Warn about trailing whitespace. # (We don't allow whitespace at the end of the line; make your # editor highlight it for you so you can stop adding it in.) diff --git a/scripts/maint/checkspace_tests/expected.txt b/scripts/maint/checkspace_tests/expected.txt @@ -5,7 +5,6 @@ tp fn():./dubious.c:15 Wide:./dubious.c:17 TAB:./dubious.c:24 - nosplabel:./dubious.c:26 CR:./dubious.c:30 Space@EOL:./dubious.c:32 non-K&R {:./dubious.c:39