Re: headers_install broken on early versions of perl

From: Alexander E. Patrakov
Date: Fri Oct 17 2008 - 00:15:01 EST


Jeremy Huntwork wrote:
Hello,

This may not be a very large concern, but the new headers_install.pl and headers_check.pl scripts do not work with versions of Perl < 5.6.0. This is largely to do with syntax changes in that version. Previously, open() only allowed two arguments. The following patch (against 2.6.27.1) alters the syntax to be backwards compatible with earlier versions. It has been tested on 5.005_03, and 5.8.8.

Please CC me on any comments as I am not subscribed to this list.

Thanks,

Jeremy Huntwork


diff -Naur linux-2.6.27.1.orig/scripts/headers_check.pl linux-2.6.27.1/scripts/headers_check.pl
--- linux-2.6.27.1.orig/scripts/headers_check.pl Wed Oct 15 19:02:53 2008
+++ linux-2.6.27.1/scripts/headers_check.pl Thu Oct 16 19:10:37 2008

There is no Signed-off-by: header in your mail, this is a formal reason for rejection. Please read Documentation/SubmittingPatches and retry.

--
Alexander E. Patrakov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/