Re: ovsqlite

Julien ÉLIE <[email protected]>
Newsgroups gmane.network.inn
Message-ID <[email protected]>
Hi Bo,

>> Just tried to build INN with SQLite 3.8.2 and it appears that
>> sqlite-helper uses sqlite3_malloc64() which is a function added only in
>> SQLite 3.8.7.
>> I therefore suggest to require SQLite 3.8.7.
> 
> Those uses allocate an error message buffer.  I'd say it's a safe 
> assumption that the size won't exceed INT_MAX, so switching to the
> old sqlite3_malloc function should be OK.

OK.


>> To silent a GCC warning, if you're OK with that, I also suggest to add "return 1" at the end of the main function (defined to return an int):
> 
> That's a clean exit, so it should return 0.

Oh, yes, of course!


> Patch for both issues attached.

Thanks, just applied.

-- 
Julien ÉLIE

« Donner un sens plus pur aux mots de la tribu. » (Stéphane Mallarmé)
_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.