On Tue, Jan 28, 2014 at 2:33 PM, Prach Pongpanich <prach...@gmail.com> wrote:
> On Tue, Jan 28, 2014 at 1:30 PM, László Böszörményi (GCS)
> <g...@debian.org> wrote:
> I've discussed with Markus Hoenicka and he told me about a atoll()
> call which the sqlite3 driver uses to convert raw data into a long
> long number causes problems, he will work on this problem.
>
> drivers/sqlite3/dbd_sqlite3.c:
> 1719:    data->d_longlong = (long long) atoll(raw); break; /* hah,
> wonder if that'll work */
 No wonder, as GNU libc manual[1] on parsing integers states:
Function: long long int atoll (const char *string)
"This function is similar to atol, except it returns a long long int.
The atoll function was introduced in ISO C99. It too is obsolete
(despite having just been added); use strtoll instead."
Thus atoll is deprecated in favour of stroll. Hope if it this change
will be made, then the compilation issue will be solved. Prach, if you
have connection with Markus Hoenicka then may you send him the URL
I've mentioned?

Algernon, if I code a small converter, can you test it on Sparc (if
you have any nearby at your workplace)?

Regards,
Laszlo/GCS
[1] http://www.gnu.org/software/libc/manual/html_node/Parsing-of-Integers.html


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to