This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] remove atoff


On 08/26/2011 09:38 AM, Marco atzeri wrote:
On 8/26/2011 4:10 PM, Ralf Corsepius wrote:
On 08/26/2011 04:00 PM, Steven Abner wrote:

On Aug 26, 2011, at 9:44 AM, Ralf Corsepius wrote:


it's not covered by any current standard


Atof was reported on the C standard draft http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf

atof(), yes (and it's also part of POSIX). But atoff() is not in C (not even in the C1x draft in document n1516). The question here is about atoff().


Portable programs should not be using atoff(). However, cygwin is exporting it, and remoing atoff() _will_ break applications linked against cygwin1.dll.

You can remove the declarations from headers, so that new apps won't use it, but you may NOT remove the function itself, without breaking shared library clients of newlib like cygwin.

--
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]