Subject: Re: port-i386/33525: Bug in privoxy-3.0.3nb4 prevents option --user from working
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 05/21/2006 20:55:02
The following reply was made to PR port-i386/33525; it has been noted by GNATS.
From: David Laight <david@l8s.co.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-i386/33525: Bug in privoxy-3.0.3nb4 prevents option --user from working
Date: Sun, 21 May 2006 21:58:37 +0100
On Sun, May 21, 2006 at 08:10:02PM +0000, Spinor wrote:
> >
> > The order of evaluation for that expression is defined by the C
> > language, so should not be system dependant.
>
> AFAIK, the order of evaluation of arguments of || isn't specified
> in standard and is implementation-dependant.
What, where it (App. A to K&R 2nd ed) says "Unlike |, || guarantees
left-to-right evaluation ..." ?
|| and && exist so that the short-circuiting happens, unfortunatly
K&R didn't change the prorities of | and & when they added them
(something to do with have a few thousand lines of C code to convert).
David
--
David Laight: david@l8s.co.uk