summaryrefslogtreecommitdiff
path: root/pat/patlog.SH
diff options
context:
space:
mode:
authorrmanfredi <rmanfredi@190e5f8e-a817-0410-acf6-e9863daed9af>2008-01-04 23:14:00 +0000
committerrmanfredi <rmanfredi@190e5f8e-a817-0410-acf6-e9863daed9af>2008-01-04 23:14:00 +0000
commit1e7ef113b85f4e4e10ffaa2c3f362645a7c7eecf (patch)
tree64777fbe1a0b811e9a8ffb66231b2b3966e59608 /pat/patlog.SH
parent3917f89474931cf825dd53e6bf00665992b9049b (diff)
Applied diff from H.Merijn Brand to keep it working with perl 5.10, which
no longer supports the old $* perl4 variable to request multiline matching. git-svn-id: https://dist.svn.sourceforge.net/svnroot/dist/trunk/dist@20 190e5f8e-a817-0410-acf6-e9863daed9af
Diffstat (limited to 'pat/patlog.SH')
-rwxr-xr-xpat/patlog.SH8
1 files changed, 3 insertions, 5 deletions
diff --git a/pat/patlog.SH b/pat/patlog.SH
index eb3fdfa..ad3fbd3 100755
--- a/pat/patlog.SH
+++ b/pat/patlog.SH
@@ -103,12 +103,10 @@ if (-s ".logs$bnum") {
}
}
close LOGS;
- $* = 1;
$subj = $logs;
- $logs =~ s/^patch\d+:\s*/\t/g;
- $logs =~ s/\n/\n\n/g;
- $subj =~ s/^patch\d+:\s*/Subject: /g;
- $* = 0;
+ $logs =~ s/^patch\d+:\s*/\t/gm;
+ $logs =~ s/\n/\n\n/gm;
+ $subj =~ s/^patch\d+:\s*/Subject: /gm;
} else {
$subj = "Subject: \n";
}