From: Jarkko Hietaniemi Date: Sat, 8 Jun 2002 01:38:50 +0000 (+0000) Subject: h2ph: evil linux/byteorder/pdp_endian.h X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=889e303a85277d50bb359b67c492b4d943e9e9db;p=p5sagit%2Fp5-mst-13.2.git h2ph: evil linux/byteorder/pdp_endian.h p4raw-id: //depot/perl@17079 --- diff --git a/utils/h2ph.PL b/utils/h2ph.PL index e99df44..783dfc6 100644 --- a/utils/h2ph.PL +++ b/utils/h2ph.PL @@ -466,6 +466,10 @@ sub next_line $out .= $1; } elsif ($in =~ s/^([^\'\"\\\/]+)//) { $out .= $1; + } elsif ($^O eq 'linux' && + $file =~ m!(?:^|/)linux/byteorder/pdp_endian\.h$! && + $in =~ s!\'T KNOW!!) { + $out =~ s!I DON$!I_DO_NOT_KNOW!; } else { die "Cannot parse:\n$in\n"; }