Skip to content
Prev 332 / 1559 Next

[PATCH] segfault in RSQLite 0.5-4

Seth Falcon <sfalcon at fhcrc.org> writes:
Had a quick look and I have few comments:

1. Your patch has weird line endings.  I get:

    file trunk_sqlite_prepare_v2.patch 
    trunk_sqlite_prepare_v2.patch: ASCII C program text, with CRLF, LF line terminators

   Please use unix line endings only.

2. There is a unit test suite.  To run it, first install the RUnit
   package, install patched RSQLite and then:

   cd RSQLite/inst/UnitTest
   R --slave < runalltests.R

   ## on unix-alike you can just do:
   make test

   Your patch causes one of the tests to fail.  I haven't looked into
   the failure yet, but perhaps you can?

+ seth