Fix handling of author's names that had apostrophes. Based on a patch
authorSteve Peters <steve@fisharerojo.org>
Sun, 4 Dec 2005 15:30:55 +0000 (15:30 +0000)
committerSteve Peters <steve@fisharerojo.org>
Sun, 4 Dec 2005 15:30:55 +0000 (15:30 +0000)
by Sean O'Rourke <sorourke@cs.ucsd.edu> in RT bug #22950.

p4raw-id: //depot/perl@26252

utils/h2xs.PL

index ec9dfd2..7a21752 100644 (file)
@@ -1239,6 +1239,7 @@ eval {
        }
      };
 
+$author =~ s/'/\\'/g if defined $author;
 $author ||= "A. U. Thor";
 $email  ||= 'a.u.thor@a.galaxy.far.far.away';