From: Steve Peters Date: Sun, 4 Dec 2005 15:30:55 +0000 (+0000) Subject: Fix handling of author's names that had apostrophes. Based on a patch X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5a4d6b2b2d37d7b38b116092f744e5f5eb085d3b;p=p5sagit%2Fp5-mst-13.2.git Fix handling of author's names that had apostrophes. Based on a patch by Sean O'Rourke in RT bug #22950. p4raw-id: //depot/perl@26252 --- diff --git a/utils/h2xs.PL b/utils/h2xs.PL index ec9dfd2..7a21752 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';