Subject: | IF ABSTRACT has " in it, nmake ppd fails on win32 |
Hello Schwern.
I am Podmaster (cpanid).
IF ABSTRACT has " in it, nmake ppd fails on win32.
I haven't seen an author with a " in his name, but you can't be too safe.
AFAIK, this is broken in 5.45 and 6.x.
I don't know if this warrants changes in MM_Unix.t or not,
but either way i'm not a Test::More guy ;)
--- lib/ExtUtils/MM_Unix.pm 2002-06-15 21:14:44.000000000 -0700
+++ lib/ExtUtils/MM_Unix.pm.mine 2002-08-26 03:36:31.000000000 -0700
@@ -3171,11 +3171,13 @@
$abstract =~ s/\n/\\n/sg;
$abstract =~ s/</</g;
$abstract =~ s/>/>/g;
+ $abstract =~ s/"/\\"/g;
my $author = $self->{AUTHOR} || '';
$author =~ s/</</g;
$author =~ s/>/>/g;
$author =~ s/@/\\@/g;
+ $author =~ s/"/\\"/g;
my $make_ppd = sprintf <<'PPD_OUT', $pack_ver, $abstract, $author;
# Creates a PPD (Perl Package Description) for a binary distribution.