lkml.org 
[lkml]   [2014]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [coccicheck PATCH 3/5] Deletion of unnecessary checks before specific function calls
    >>> If you are convinced that dropping the null tests is a good idea, then you 
    >>> can submit the patch that makes the change to the relevant maintainers and
    >>> mailing lists.

    From f4608fceec40b2b94aa9b4abe3bbb6d98ed5eed9 Mon Sep 17 00:00:00 2001
    From: Markus Elfring <elfring@users.sourceforge.net>
    Date: Wed, 5 Mar 2014 18:58:30 +0100
    Subject: [PATCH 3/5] Addition of a SQLite script for a text file import

    A script was added so that a text file which was previously generated can be
    imported into a SQLite data base table.
    http://sqlite.org/sqlite.html

    The shown file name can be adjusted by a make file for example.

    Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
    ---
    .../coccinelle/deletions/handle_function_list_template.sqlite | 9 +++++++++
    1 file changed, 9 insertions(+)
    create mode 100644
    scripts/coccinelle/deletions/handle_function_list_template.sqlite

    diff --git a/scripts/coccinelle/deletions/handle_function_list_template.sqlite
    b/scripts/coccinelle/deletions/handle_function_list_template.sqlite
    new file mode 100644
    index 0000000..bec366c
    --- /dev/null
    +++ b/scripts/coccinelle/deletions/handle_function_list_template.sqlite
    @@ -0,0 +1,9 @@
    +create table positions(function text,
    + data_type text,
    + parameter text,
    + source_file text,
    + line integer,
    + column integer);
    +.separator "|"
    +.import list_input_pointer_validation1.txt positions
    +.header OFF
    --
    1.9.0




    \
     
     \ /
      Last update: 2014-10-01 16:41    [W:4.021 / U:24.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site