Re: [patch] Re: Implementation errors in strtol()

From: Joerg Wunsch <freebsd-current_at_uriah.heep.sax.de>
Date: Fri, 21 Jan 2005 16:07:09 +0100
As Andrey Chernov wrote:

> Here is untested patch to fix the problem:

Apart of the stylistic problems mentioned by Bruce:

uriah # make
cc -O -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/lib/libc/stdlib/strtol.c
/usr/src/lib/libc/stdlib/strtol.c: In function `strtol':
/usr/src/lib/libc/stdlib/strtol.c:81: warning: suggest parentheses around && within ||
/usr/src/lib/libc/stdlib/strtol.c:82: warning: suggest parentheses around && within ||
*** Error code 1

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Received on Fri Jan 21 2005 - 14:10:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:26 UTC