Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2005 16:07:09 +0100
From:      Joerg Wunsch <freebsd-current@uriah.heep.sax.de>
To:        current@FreeBSD.ORG
Cc:        bde@FreeBSD.ORG
Subject:   Re: [patch] Re: Implementation errors in strtol()
Message-ID:  <20050121150709.GA60180@uriah.heep.sax.de>
In-Reply-To: <20050120221154.GC70629@nagual.pp.ru>
References:  <20050120192324.GA30862@uriah.heep.sax.de> <20050120205501.GA69123@nagual.pp.ru> <20050120211449.GC30862@uriah.heep.sax.de> <20050120214406.GA70088@nagual.pp.ru> <20050120215807.GA70629@nagual.pp.ru> <20050120221154.GC70629@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050121150709.GA60180>