projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
05b37b3
)
Merge branch 'master' of ssh://git.privoxy.org:23/git/privoxy
author
Lee
<ler762@users.sourceforge.net>
Tue, 23 Oct 2018 16:02:54 +0000
(12:02 -0400)
committer
Lee
<ler762@users.sourceforge.net>
Tue, 23 Oct 2018 16:02:54 +0000
(12:02 -0400)
utils/prepare-configfile.pl
patch
|
blob
|
history
diff --git
a/utils/prepare-configfile.pl
b/utils/prepare-configfile.pl
index
59a7691
..
dc68632
100755
(executable)
--- a/
utils/prepare-configfile.pl
+++ b/
utils/prepare-configfile.pl
@@
-51,6
+51,13
@@
sub main() {
s/^\s+/ /;
$unfold_mode = 0;
} else {
+ if ( $hit_option ) {
+ # processing a continuation of a @@ line
+ if ( /^\s*$/ ) { # blank line
+ $hit_option = 0;
+ next;
+ }
+ }
s/^/# /;
}
if ($unfolding_enabled and
@@
-62,8
+69,6
@@
sub main() {
# XXX: someone should figure out what this stuff
# is supposed to do (and if it really does that).
s/^# #/####/ if /^# #{12,}/;
- s/^.*$// if $hit_option;
- $hit_option = 0;
s/^\n//;
s/^#\s*-{20,}//;
s/ *$//;