Re: ovsqlite
Bo Lindbergh <[email protected]>
| Newsgroups | gmane.network.inn |
|---|---|
| Message-ID | <[email protected]> |
Quoth Julien ÉLIE <[email protected]>: > > 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. > 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. Patch for both issues attached. /Bo Lindbergh
delta5.diff.gz
(application/x-gzip, 424 B) - not displayed