summaryrefslogtreecommitdiff
path: root/utils/h2xs.PL
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-12-04 15:30:55 +0000
committerSteve Peters <steve@fisharerojo.org>2005-12-04 15:30:55 +0000
commit5a4d6b2b2d37d7b38b116092f744e5f5eb085d3b (patch)
tree96dd7729adcced076cca29e2af430159dd3e7d51 /utils/h2xs.PL
parent920f3fa97174024507480fe092a95f260f2a21ee (diff)
downloadperl-5a4d6b2b2d37d7b38b116092f744e5f5eb085d3b.tar.gz
Fix handling of author's names that had apostrophes. Based on a patch
by Sean O'Rourke <sorourke@cs.ucsd.edu> in RT bug #22950. p4raw-id: //depot/perl@26252
Diffstat (limited to 'utils/h2xs.PL')
-rw-r--r--utils/h2xs.PL1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/h2xs.PL b/utils/h2xs.PL
index ec9dfd23c2..7a2175223b 100644
--- a/utils/h2xs.PL
+++ b/utils/h2xs.PL
@@ -1239,6 +1239,7 @@ eval {
}
};
+$author =~ s/'/\\'/g if defined $author;
$author ||= "A. U. Thor";
$email ||= 'a.u.thor@a.galaxy.far.far.away';