summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-10-02 11:28:23 +0000
committerRoger Dingledine <arma@torproject.org>2008-10-02 11:28:23 +0000
commita31d0f9f15441cad6d52f6e6abadd87b483f0676 (patch)
treeb6b8dd4fcf1be68960c2c401502127f76c818a95 /doc
parentd9b429b5142681adc2c6e86279bc0933ffd7dd54 (diff)
downloadtor-a31d0f9f15441cad6d52f6e6abadd87b483f0676.tar.gz
tor-a31d0f9f15441cad6d52f6e6abadd87b483f0676.zip
Use of uninitialized value in regexp compilation at ./reindex.pl line 55.
svn:r17031
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/spec/proposals/reindex.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/spec/proposals/reindex.pl b/doc/spec/proposals/reindex.pl
index f76dbfb137..2727351628 100755
--- a/doc/spec/proposals/reindex.pl
+++ b/doc/spec/proposals/reindex.pl
@@ -52,10 +52,10 @@ for my $f (@files) {
}
}
close F;
+ die "Proposal $num has no status line" if (!defined $status);
die "I've never heard of status $status in proposal $num"
unless (grep(/$status/, @KNOWN_STATUSES) == 1);
- die "Proposal $num has a bad status line" if (!defined $status);
- die "Proposal $num has a bad title line" if (!defined $title);
+ die "Proposal $num has no title line" if (!defined $title);
die "Proposal $num has no Filename line" unless (defined $alleged_fname);
die "Proposal $num says its fname is $alleged_fname, but it's really $f"
if ($alleged_fname ne $f);