diff for duplicates of <5317AA20.1080402@users.sourceforge.net> diff --git a/a/1.txt b/N1/1.txt index 5b3ece6..6db7a50 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 a1d724c..5c3de40 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -15,9 +15,9 @@ "ref\0530DD06F.4090703@users.sourceforge.net\0" "ref\0alpine.DEB.2.02.1402262129250.2221@localhost6.localdomain6\0" "ref\05317A59D.4@users.sourceforge.net\0" - "From\0elfring@users.sourceforge.net (SF Markus Elfring)\0" - "Subject\0[Cocci] [coccicheck Linux 3.14-rc5 PATCH 2 of 5] Deletion of unnecessary checks before specific function calls\0" - "Date\0Wed, 05 Mar 2014 23:50:08 +0100\0" + "From\0SF Markus Elfring <elfring@users.sourceforge.net>\0" + "Subject\0Re: [coccicheck Linux 3.14-rc5 PATCH 2 of 5] Deletion of unnecessary checks before specific function\0" + "Date\0Wed, 05 Mar 2014 22:50:08 +0000\0" "To\0cocci@systeme.lip6.fr\0" "\00:1\0" "b\0" @@ -25,7 +25,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" @@ -54,7 +54,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" @@ -79,13 +79,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" @@ -94,7 +94,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" @@ -113,4 +113,4 @@ "-- \n" 1.9.0 -f4bf70bef72bd04ce8dc8cf340647d2362d3bd3ab1ff30891e3ed10f17c03ca0 +c58efa6f0542212bfa3e9cce0dd603a526cd33dab7f3c74a5a4698384a8a0113
diff --git a/a/1.txt b/N2/1.txt index 5b3ece6..74eb53e 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 a1d724c..7376832 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -15,10 +15,12 @@ "ref\0530DD06F.4090703@users.sourceforge.net\0" "ref\0alpine.DEB.2.02.1402262129250.2221@localhost6.localdomain6\0" "ref\05317A59D.4@users.sourceforge.net\0" - "From\0elfring@users.sourceforge.net (SF Markus Elfring)\0" - "Subject\0[Cocci] [coccicheck Linux 3.14-rc5 PATCH 2 of 5] Deletion of unnecessary checks before specific function calls\0" + "From\0SF Markus Elfring <elfring@users.sourceforge.net>\0" + "Subject\0Re: [coccicheck Linux 3.14-rc5 PATCH 2 of 5] Deletion of unnecessary checks before specific function calls\0" "Date\0Wed, 05 Mar 2014 23:50:08 +0100\0" - "To\0cocci@systeme.lip6.fr\0" + "To\0linux-kernel@vger.kernel.org\0" + "Cc\0Coccinelle <cocci@systeme.lip6.fr>" + " kernel-janitors@vger.kernel.org\0" "\00:1\0" "b\0" ">> If you are convinced that dropping the null tests is a good idea, then you \n" @@ -54,7 +56,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" @@ -79,13 +81,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" @@ -94,7 +96,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" @@ -113,4 +115,4 @@ "-- \n" 1.9.0 -f4bf70bef72bd04ce8dc8cf340647d2362d3bd3ab1ff30891e3ed10f17c03ca0 +91216c3a793944548fe0c159e3ddf0b7ddef998931944651f570639a55ec8fee
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.