[uClibc-cvs] cvs commit to uClibc/libc/inet by andersen

andersen at codepoet.org andersen at codepoet.org
Wed Jul 10 04:32:03 UTC 2002


Repository: uClibc/libc/inet
who:        andersen
time:       Tue Jul  9 22:32:03 MDT 2002


Log Message:

Per bug report from Ronald Wahl <rwa at peppercon.com>:
    ...inet_pton breaks since tolower is implemented as
    a macro and its argument is evaluated more than once:

	while ((ch = tolower (*src++)) != '\0') {

So I fixed it by just undefining tolower() so we use the
function version, not the macro.
 -Erik


Files:

changed:    ntop.c




More information about the uClibc-cvs mailing list