Re: Implementation errors in strtol()

From: Andrey Chernov <ache_at_nagual.pp.ru>
Date: Fri, 21 Jan 2005 02:54:42 +0300
On Fri, Jan 21, 2005 at 12:18:07AM +0100, Matthias Andree wrote:
> > This is just their intehtions explanation, not excuse. If several 
> > standards are in contradiction, POSIX vote is final. It may surprise you, 
> > but it covers and changes lots of cases comparing to minimalistic C 
> > standard. Such additions/changes are specially marked with different color 
> > (gray).
> 
> I do not have a place of discovery handy, but wasn't POSIX explicitly
> deferring in to the C standard and giving it precedence for any
> conflicts between the C standard library and POSIX?

What really happens is more complex thing. POSIX tries to follow C 
standard as close as possible. If POSIX makes an addition not mentioned in 
the relatively minimalistic C or SUS standards (because such case even was 
not considered there but vital enough to system level), this addition not 
contradicts with C standard _directly_ i.e. not opposite it, but from now 
two example cases handled equaly by minimalistic standards handled now 
differently by POSIX due to additional (non-described previously) 
treatement.

-- 
http://ache.pp.ru/
Received on Thu Jan 20 2005 - 22:54:46 UTC

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