Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2005 20:35:26 +0300
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>, current@freebsd.org
Subject:   Re: Implementation errors in strtol()
Message-ID:  <20050122173526.GD39943@nagual.pp.ru>
In-Reply-To: <20050122171743.GB39943@nagual.pp.ru>
References:  <20050121201400.GQ30862@uriah.heep.sax.de> <20050121221156.GA21459@nagual.pp.ru> <20050120192324.GA30862@uriah.heep.sax.de> <20050120205501.GA69123@nagual.pp.ru> <20050120211449.GC30862@uriah.heep.sax.de> <20050120214406.GA70088@nagual.pp.ru> <20050120222137.GE30862@uriah.heep.sax.de> <20050121230949.GA34313@VARK.MIT.EDU> <20050122113015.GV30862@uriah.heep.sax.de> <20050122171743.GB39943@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 22, 2005 at 08:17:43PM +0300, Andrey Chernov wrote:
> even after checking that endptr moved can't check just

I mean that another case still possible where errno check placed _before_ 
endptr checking, to detect, say, wrong user-entered "base" by EINVAL. It 
can't be detected by portable application in 100% cases, because EINVAL 
can be returned in other cases too.

-- 
http://ache.pp.ru/



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