Date: Wed, 8 Jan 2014 10:31:49 -0500 From: Rich Felker <dalias@...ifal.cx> To: musl@...ts.openwall.com Subject: Re: [feature request] add function strtoull_l and similar On Wed, Jan 08, 2014 at 10:33:36AM +0100, Daniel Cegiełka wrote: > Sory - I gave link without checking whether ellcc really uses it. > > If it's really necessary, you can import this function eg from FreeBSD: > > https://github.com/freebsd/freebsd-head/blob/master/lib/libc/stdlib/strtoull.c The function in question was the nonstandard strtoull_l, not strtoull. In the case of the former, attempting to import it from FreeBSD would definitely not be the right solution; you'd have to import a large part of the FreeBSD locale framework it depends on, in which case you'd be giving very inconsistent behavior with the rest of musl, or you'd have to strip the code that's using the locale and make strtoull_l ignore it, in which case the outcome would be identical to using the existing version in musl, but with a lot of duplicate code added. Rich
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.