diff for duplicates of <200901020214.33123.rob@landley.net> diff --git a/a/1.txt b/N1/1.txt index b440fd0..ad0efb9 100644 Binary files a/a/1.txt and b/N1/1.txt differ diff --git a/a/content_digest b/N1/content_digest index f02a64a..696663d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -10,120 +10,10 @@ "\00:1\0" "b\0" "From: Rob Landley <rob@landley.net>\n" - "\n" - "Remove perl from make headers_install by replacing a perl script (doing\n" - "a simple regex search and replace) with a smaller and faster shell script\n" - "implementation. The new shell script is a single for loop calling sed and\n" - "piping its output through unifdef to produce the target file.\n" - "\n" + "Remove perl from make headers_install by replacing a perl script (doinga simple regex search and replace) with a smaller and faster shell scriptimplementation. The new shell script is a single for loop calling sed andpiping its output through unifdef to produce the target file.\n" "Sam Ravnborg added this perl to 2.6.27.\n" - "\n" - "Signed-off-by: Rob Landley <rob@landley.net>\n" - "---\n" - "\n" - " scripts/Makefile.headersinst | 6 ++--\n" - " scripts/headers_install.pl | 46 ---------------------------------\n" - " scripts/headers_install.sh | 23 ++++++++++++++++\n" - " 3 files changed, 26 insertions(+), 49 deletions(-)\n" - "\n" - "--- /dev/null\t2008-11-21 04:46:41.000000000 -0600\n" - "+++ b/scripts/headers_install.sh\t2008-12-15 22:09:45.000000000 -0600\n" - "@@ -0,0 +1,23 @@\n" - "+#!/bin/bash\n" - "+\n" - "+# Grab arguments\n" - "+\n" - "+INDIR=\"$1\"\n" - "+shift\n" - "+OUTDIR=\"$1\"\n" - "+shift\n" - "+ARCH=\"$1\"\n" - "+shift\n" - "+\n" - "+# Iterate through files listed on command line\n" - "+\n" - "+for i in \"$@\"\n" - "+do\n" - "+\tsed -r \\\n" - "+\t\t-e 's/([ \\t(])(__user|__force|__iomem)[ \\t]/\\1/g' \\\n" - "+\t\t-e 's/__attribute_const__([ \\t]|$)/\\1/g' \\\n" - "+\t\t-e 's@^#include <linux/compiler.h>@@' \"$INDIR/$i\" |\n" - "+\tscripts/unifdef -U__KERNEL__ - > \"$OUTDIR/$i\"\n" - "+done\n" - "+\n" - "+exit 0\n" - "diff -r d9b501c91442 scripts/Makefile.headersinst\n" - "--- a/scripts/Makefile.headersinst\tSun Dec 14 16:25:19 2008 -0800\n" - "+++ b/scripts/Makefile.headersinst\tMon Dec 15 23:30:15 2008 -0600\n" - "@@ -44,8 +44,8 @@\n" - " quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\\\n" - " file$(if $(word 2, $(all-files)),s))\n" - " cmd_install = \\\n" - "- $(PERL) $< $(srctree)/$(obj) $(install) $(SRCARCH) $(header-y); \\\n" - "- $(PERL) $< $(objtree)/$(obj) $(install) $(SRCARCH) $(objhdr-y); \\\n" - "+\t\t$(CONFIG_SHELL) $< $(srctree)/$(obj) $(install) $(SRCARCH) $(header-y); \\\n" - "+\t\t$(CONFIG_SHELL) $< $(objtree)/$(obj) $(install) $(SRCARCH) $(objhdr-y); \\\n" - " touch $@\n" - " \n" - " quiet_cmd_remove = REMOVE $(unwanted)\n" - "@@ -64,7 +64,7 @@\n" - " \t@:\n" - " \n" - " targets += $(install-file)\n" - "-$(install-file): scripts/headers_install.pl $(input-files) FORCE\n" - "+$(install-file): scripts/headers_install.sh $(input-files) FORCE\n" - " \t$(if $(unwanted),$(call cmd,remove),)\n" - " \t$(if $(wildcard $(dir $@)),,$(shell mkdir -p $(dir $@)))\n" - " \t$(call if_changed,install)\n" - "--- hg/scripts/headers_install.pl\t2008-11-22 19:09:21.000000000 -0600\n" - "+++ /dev/null\t1970-01-01 00:00:00 -0600\n" - "@@ -1,46 +0,0 @@\n" - "-#!/usr/bin/perl -w\n" - "-#\n" - "-# headers_install prepare the listed header files for use in\n" - "-# user space and copy the files to their destination.\n" - "-#\n" - "-# Usage: headers_install.pl readdir installdir arch [files...]\n" - "-# readdir: dir to open files\n" - "-# installdir: dir to install the files\n" - "-# arch: current architecture\n" - "-# arch is used to force a reinstallation when the arch\n" - "-# changes because kbuild then detect a command line change.\n" - "-# files: list of files to check\n" - "-#\n" - "-# Step in preparation for users space:\n" - "-# 1) Drop all use of compiler.h definitions\n" - "-# 2) Drop include of compiler.h\n" - "-# 3) Drop all sections defined out by __KERNEL__ (using unifdef)\n" - "-\n" - "-use strict;\n" - "-\n" - "-my ($readdir, $installdir, $arch, @files) = @ARGV;\n" - "-\n" - "-my $unifdef = \"scripts/unifdef -U__KERNEL__\";\n" - "-\n" - "-foreach my $file (@files) {\n" - "-\tlocal *INFILE;\n" - "-\tlocal *OUTFILE;\n" - "-\tmy $tmpfile = \"$installdir/$file.tmp\";\n" - "-\topen(INFILE, \"<$readdir/$file\")\n" - "-\t\tor die \"$readdir/$file: $!\\n\";\n" - "-\topen(OUTFILE, \">$tmpfile\") or die \"$tmpfile: $!\\n\";\n" - "-\twhile (my $line = <INFILE>) {\n" - "-\t\t$line =~ s/([\\s(])__user\\s/$1/g;\n" - "-\t\t$line =~ s/([\\s(])__force\\s/$1/g;\n" - "-\t\t$line =~ s/([\\s(])__iomem\\s/$1/g;\n" - "-\t\t$line =~ s/\\s__attribute_const__\\s/ /g;\n" - "-\t\t$line =~ s/\\s__attribute_const__$//g;\n" - "-\t\t$line =~ s/^#include <linux\\/compiler.h>//;\n" - "-\t\tprintf OUTFILE \"%s\", $line;\n" - "-\t}\n" - "-\tclose OUTFILE;\n" - "-\tclose INFILE;\n" - "-\tsystem $unifdef . \" $tmpfile > $installdir/$file\";\n" - "-\tunlink $tmpfile;\n" - "-}\n" - "-exit 0;\n" - "\0" + "Signed-off-by: Rob Landley <rob@landley.net>---\n" + " scripts/Makefile.headersinst | 6 ++-- scripts/headers_install.pl | 46 --------------------------------- scripts/headers_install.sh | 23 ++++++++++++++++ 3 files changed, 26 insertions(+), 49 deletions(-)\n" + "--- /dev/null\t2008-11-21 04:46:41.000000000 -0600+++ b/scripts/headers_install.sh\t2008-12-15 22:09:45.000000000 -0600@@ -0,0 +1,23 @@+#!/bin/bash++# Grab arguments++INDIR=\"$1\"+shift+OUTDIR=\"$1\"+shift+ARCH=\"$1\"+shift++# Iterate through files listed on command line++for i in \"$@\"+do+\tsed -r \\+\t\t-e 's/([ \\t(])(__user|__force|__iomem)[ \\t]/\\1/g' \\+\t\t-e 's/__attribute_const__([ \\t]|$)/\\1/g' \\+\t\t-e 's@^#include <linux/compiler.h>@@' \"$INDIR/$i\" |+\tscripts/unifdef -U__KERNEL__ - > \"$OUTDIR/$i\"+done++exit 0diff -r d9b501c91442 scripts/Makefile.headersinst--- a/scripts/Makefile.headersinst\tSun Dec 14 16:25:19 2008 -0800+++ b/scripts/Makefile.headersinst\tMon Dec 15 23:30:15 2008 -0600@@ -44,8 +44,8 @@ quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\\ file$(if $(word 2, $(all-files)),s)) cmd_install = \\- $(PERL) $< $(srctree)/$(obj) $(install) $(SRCARCH) $(header-y); \\- $(PERL) $< $(objtree)/$(obj) $(install) $(SRCARCH) $(objhdr-y); \\+\t\t$(CONFIG_SHELL) $< $(srctree)/$(obj) $(install) $(SRCARCH) $(header-y); \\+\t\t$(CONFIG_SHELL) $< $(objtree)/$(obj) $(install) $(SRCARCH) $(objhdr-y); \\ touch $@ quiet_cmd_remove = REMOVE $(unwanted)@@ -64,7 +64,7 @@ \t@: targets += $(install-file)-$(install-file): scripts/headers_install.pl $(input-files) FORCE+$(install-file): scripts/headers_install.sh $(input-files) FORCE \t$(if $(unwanted),$(call cmd,remove),) \t$(if $(wildcard $(dir $@)),,$(shell mkdir -p $(dir $@))) \t$(call if_changed,install)--- hg/scripts/headers_install.pl\t2008-11-22 19:09:21.000000000 -0600+++ /dev/null\t1970-01-01 00:00:00 -0600@@ -1,46 +0,0 @@-#!/usr/bin/perl -w-#-# headers_install prepare the listed header files for use in-# user space and copy the files to their destination.-#-# Usage: headers_install.pl readdir installdir arch [files...]-# readdir: dir to open files-# installdir: dir to install the files-# arch: current architecture-# arch is used to force a reinstallation when the arch-# changes because kbuild then detect a command line change.-# files: list of files to check-#-# Step in preparation for users space:-# 1) Drop all use of compiler.h definitions-# 2) Drop include of compiler.h-# 3) Drop all sections defined out by __KERNEL__ (using unifdef)--use strict;--my ($readdir, $installdir, $arch, @files) = @ARGV;--my $unifdef = \"scripts/unifdef -U__KERNEL__\";--foreach my $file (@files) {-\tlocal *INFILE;-\tlocal *OUTFILE;-\tmy $tmpfile = \"$installdir/$file.tmp\";-\topen(INFILE, \"<$readdir/$file\")-\t\tor die \"$readdir/$file: $!\\n\";-\topen(OUTFILE, \">$tmpfile\") or die \"$tmpfile: $!\\n\";-\twhile (my $line = <INFILE>) {-\t\t$line =~ s/([\\s(])__user\\s/$1/g;-\t\t$line =~ s/([\\s(])__force\\s/$1/g;-\t\t$line =~ s/([\\s(])__iomem\\s/$1/g;-\t\t$line =~ s/\\s__attribute_const__\\s/ /g;-\t\t$line =~ s/\\s__attribute_const__$//g;-\t\t$line =~ s/^#include <linux\\/compiler.h>//;-\t\tprintf OUTFILE \"%s\", $line;-\t}-\tclose OUTFILE;-\tclose INFILE;-\tsystem $unifdef . \" $tmpfile > $installdir/$file\";-\tunlink $tmpfile;-}-exit 0;\0\303\277\303\264\303\250\302\272{.n\303\207+\302\211\302\267\302\237\302\256\302\211\302\255\302\206+%\302\212\303\213\303\277\302\261\303\251\303\235\302\266\027\302\245\302\212w\303\277\302\272{.n\303\207+\302\211\302\267\302\245\302\212{\302\261\303\276G\302\253\302\235\303\251\303\277\302\212{ay\302\272\035\303\212\302\207\303\232\302\231\303\253,j\a\302\255\302\242f\302\243\302\242\302\267h\302\232\302\217\303\257\302\201\303\252\303\277\302\221\303\252\303\247z_\303\250\302\256\003(\302\255\303\251\302\232\302\216\302\212\303\235\302\242j\"\302\235\303\272\032\302\266\033m\302\247\303\277\303\277\302\276\a\302\253\303\276G\302\253\302\235\303\251\303\277\302\242\302\270?\302\231\302\250\303\250\302\255\303\232&\302\243\303\270\302\247~\302\217\303\241\302\266iO\302\225\303\246\302\254z\302\267\302\232v\303\230^\024\004\032\302\266\033m\302\247\303\277\303\277\303\203\f\303\277\302\266\303\254\303\277\302\242\302\270?\302\226I\302\245" -e978a76d1d3b5815687b6f8e82c58910fa7cc297a3dcf57e23f5804534ad2733 +dee13f713e2cdf348623b9add7ba9ca276943e14eebcea8f9619e804a8e65072
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.