LWN.net Logo

A turning point for GNU libc

A turning point for GNU libc

Posted Mar 29, 2012 20:53 UTC (Thu) by cmccabe (guest, #60281)
In reply to: A turning point for GNU libc by Richard_J_Neill
Parent article: A turning point for GNU libc

> While we're at it, could we please get rid of the broken behaviour
> that leading zeros make strings into Octal? This behavior is
> implemented so fundamentally in eg atoi() that many other programming
> languages, even those that do dynamic typing, inherit the bug. If I
> write "064", I generally don't mean "52"!

It's a standard, like the QWERTY keyboard and the English language. Sorry, it's not going anywhere.

> At the same time, can I plead for a "streq()" function, being defined
> as "!strcmp()"

Why don't you define it yourself? It's a one-line function.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds