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: Spinor <fenicottero@gmail.com>
List: netbsd-bugs
Date: 05/21/2006 21:10:02
The following reply was made to PR port-i386/33525; it has been noted by GNATS.
From: Spinor <fenicottero@gmail.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-i386/33525: Bug in privoxy-3.0.3nb4 prevents option --user from working
Date: Mon, 22 May 2006 02:07:19 +0400
On Sun, May 21, 2006 at 20:55 +0000, David Laight wrote:
> 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 ..." ?
Yes, and ISO standard states just the same.
It's my mistake.
Thus, original privoxy code won't work in any implementations.
>
> || 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
>