diff for duplicates of <542C0A75.3070702@users.sourceforge.net> diff --git a/a/1.txt b/N1/1.txt index 8c32f4b..f07c8d6 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -2,7 +2,7 @@ >>> can submit the patch that makes the change to the relevant maintainers and >>> mailing lists. ->From 1d2de3c3cfa43cc3c78a91200c41cef438b26a8f Mon Sep 17 00:00:00 2001 +From 1d2de3c3cfa43cc3c78a91200c41cef438b26a8f Mon Sep 17 00:00:00 2001 From: Markus Elfring <elfring@users.sourceforge.net> Date: Wed, 5 Mar 2014 18:38:43 +0100 Subject: [PATCH 2/5] Addition of a semantic patch file for listing of @@ -31,7 +31,7 @@ index 0000000..b0a5a52 --- /dev/null +++ b/scripts/coccinelle/deletions/list_input_parameter_validation1.cocci @@ -0,0 +1,55 @@ -+ at initialize:python@ ++@initialize:python@ +@@ +import sys +result = [] @@ -56,13 +56,13 @@ index 0000000..b0a5a52 + fields.append(str(int(place.column) + 1)) + result.append(delimiter.join(fields)) + -+ at safety_check@ ++@safety_check@ +identifier work, input; +type data_type; +position pos; +statement is, es; +@@ -+ void work at pos(data_type input) ++ void work@pos(data_type input) + { + ... when any +( if (input) is else es @@ -71,7 +71,7 @@ index 0000000..b0a5a52 + ... when any + } + -+ at script:python collection depends on safety_check@ ++@script:python collection depends on safety_check@ +typ << safety_check.data_type; +fun << safety_check.work; +point << safety_check.input; diff --git a/a/content_digest b/N1/content_digest index ef610f6..91347be 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -16,9 +16,9 @@ "ref\0alpine.DEB.2.02.1402262129250.2221@localhost6.localdomain6\0" "ref\05317A59D.4@users.sourceforge.net\0" "ref\0542BFB2C.5070609@users.sourceforge.net\0" - "From\0elfring@users.sourceforge.net (SF Markus Elfring)\0" - "Subject\0[Cocci] [coccicheck PATCH 2/5] Deletion of unnecessary checks before specific function calls\0" - "Date\0Wed, 01 Oct 2014 16:06:45 +0200\0" + "From\0SF Markus Elfring <elfring@users.sourceforge.net>\0" + "Subject\0Re: [coccicheck PATCH 2/5] Deletion of unnecessary checks before specific function calls\0" + "Date\0Wed, 01 Oct 2014 14:06:45 +0000\0" "To\0cocci@systeme.lip6.fr\0" "\00:1\0" "b\0" @@ -26,7 +26,7 @@ ">>> can submit the patch that makes the change to the relevant maintainers and \n" ">>> mailing lists.\n" "\n" - ">From 1d2de3c3cfa43cc3c78a91200c41cef438b26a8f Mon Sep 17 00:00:00 2001\n" + "From 1d2de3c3cfa43cc3c78a91200c41cef438b26a8f Mon Sep 17 00:00:00 2001\n" "From: Markus Elfring <elfring@users.sourceforge.net>\n" "Date: Wed, 5 Mar 2014 18:38:43 +0100\n" "Subject: [PATCH 2/5] Addition of a semantic patch file for listing of\n" @@ -55,7 +55,7 @@ "--- /dev/null\n" "+++ b/scripts/coccinelle/deletions/list_input_parameter_validation1.cocci\n" "@@ -0,0 +1,55 @@\n" - "+ at initialize:python@\n" + "+@initialize:python@\n" "+@@\n" "+import sys\n" "+result = []\n" @@ -80,13 +80,13 @@ "+ fields.append(str(int(place.column) + 1))\n" "+ result.append(delimiter.join(fields))\n" "+\n" - "+ at safety_check@\n" + "+@safety_check@\n" "+identifier work, input;\n" "+type data_type;\n" "+position pos;\n" "+statement is, es;\n" "+@@\n" - "+ void work at pos(data_type input)\n" + "+ void work@pos(data_type input)\n" "+ {\n" "+ ... when any\n" "+( if (input) is else es\n" @@ -95,7 +95,7 @@ "+ ... when any\n" "+ }\n" "+\n" - "+ at script:python collection depends on safety_check@\n" + "+@script:python collection depends on safety_check@\n" "+typ << safety_check.data_type;\n" "+fun << safety_check.work;\n" "+point << safety_check.input;\n" @@ -114,4 +114,4 @@ "-- \n" 1.9.0 -33009b1c0b6240dd28c18979f61c6a669dfc3bfe22cba425702650fab8249c15 +6867ca148be5985a29db6609e4eda168e84c3f9c2ede381fc3d33f16a136b935
diff --git a/a/1.txt b/N2/1.txt index 8c32f4b..db8e9f6 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -31,7 +31,7 @@ index 0000000..b0a5a52 --- /dev/null +++ b/scripts/coccinelle/deletions/list_input_parameter_validation1.cocci @@ -0,0 +1,55 @@ -+ at initialize:python@ ++@initialize:python@ +@@ +import sys +result = [] @@ -56,13 +56,13 @@ index 0000000..b0a5a52 + fields.append(str(int(place.column) + 1)) + result.append(delimiter.join(fields)) + -+ at safety_check@ ++@safety_check@ +identifier work, input; +type data_type; +position pos; +statement is, es; +@@ -+ void work at pos(data_type input) ++ void work@pos(data_type input) + { + ... when any +( if (input) is else es @@ -71,7 +71,7 @@ index 0000000..b0a5a52 + ... when any + } + -+ at script:python collection depends on safety_check@ ++@script:python collection depends on safety_check@ +typ << safety_check.data_type; +fun << safety_check.work; +point << safety_check.input; diff --git a/a/content_digest b/N2/content_digest index ef610f6..19bab2d 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -16,10 +16,18 @@ "ref\0alpine.DEB.2.02.1402262129250.2221@localhost6.localdomain6\0" "ref\05317A59D.4@users.sourceforge.net\0" "ref\0542BFB2C.5070609@users.sourceforge.net\0" - "From\0elfring@users.sourceforge.net (SF Markus Elfring)\0" - "Subject\0[Cocci] [coccicheck PATCH 2/5] Deletion of unnecessary checks before specific function calls\0" + "From\0SF Markus Elfring <elfring@users.sourceforge.net>\0" + "Subject\0Re: [coccicheck PATCH 2/5] Deletion of unnecessary checks before specific function calls\0" "Date\0Wed, 01 Oct 2014 16:06:45 +0200\0" - "To\0cocci@systeme.lip6.fr\0" + "To\0linux-kernel@vger.kernel.org" + Andrew Morton <akpm@linux-foundation.org> + " Stephen Rothwell <sfr@canb.auug.org.au>\0" + "Cc\0Coccinelle <cocci@systeme.lip6.fr>" + kernel-janitors@vger.kernel.org + Michal Marek <mmarek@suse.cz> + Chi Pham <chidaph@gmail.com> + Fabian Frederick <fabf@skynet.be> + " Joe Perches <joe@perches.com>\0" "\00:1\0" "b\0" ">>> If you are convinced that dropping the null tests is a good idea, then you \n" @@ -55,7 +63,7 @@ "--- /dev/null\n" "+++ b/scripts/coccinelle/deletions/list_input_parameter_validation1.cocci\n" "@@ -0,0 +1,55 @@\n" - "+ at initialize:python@\n" + "+@initialize:python@\n" "+@@\n" "+import sys\n" "+result = []\n" @@ -80,13 +88,13 @@ "+ fields.append(str(int(place.column) + 1))\n" "+ result.append(delimiter.join(fields))\n" "+\n" - "+ at safety_check@\n" + "+@safety_check@\n" "+identifier work, input;\n" "+type data_type;\n" "+position pos;\n" "+statement is, es;\n" "+@@\n" - "+ void work at pos(data_type input)\n" + "+ void work@pos(data_type input)\n" "+ {\n" "+ ... when any\n" "+( if (input) is else es\n" @@ -95,7 +103,7 @@ "+ ... when any\n" "+ }\n" "+\n" - "+ at script:python collection depends on safety_check@\n" + "+@script:python collection depends on safety_check@\n" "+typ << safety_check.data_type;\n" "+fun << safety_check.work;\n" "+point << safety_check.input;\n" @@ -114,4 +122,4 @@ "-- \n" 1.9.0 -33009b1c0b6240dd28c18979f61c6a669dfc3bfe22cba425702650fab8249c15 +bbc84e588eef695434885271818e9f8063708a6c0b5b50b060c69aea0236242c
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.