Date: Sun, 18 Dec 2022 13:23:25 +0100 From: Szabolcs Nagy <nsz@...t70.net> To: Domingo Alvarez Duarte <mingodad@...il.com> Cc: musl@...ts.openwall.com Subject: Re: Bug in atoll strtoll, the output of then differ * Domingo Alvarez Duarte <mingodad@...il.com> [2022-12-18 10:32:10 +0100]: > Doing some work with emscripten with this project > https://github.com/mingodad/CG-SQL-Lua-playground I was getting some errors > with the usage of "atoll" and with this small program to compare the output > of "musl" and "glibc" I found what seems to be a bug in "atoll" because with > "musl" it gives a different output than "strtoll". as others pointed out using ato* is a bug here. glibc does not guarantee ato* to to be compatible with strto* either and it just got around fixing its internal ato* usage: https://sourceware.org/pipermail/libc-alpha/2022-December/144147.html
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.