Matthias Pigulla writes:
> Russell Nelson wrote:
> > That's how control.c:control_readfile() works:
> > if (line.s[0])
> > if (line.s[0] != '#')
> > if (!stralloc_cat(sa,&line)) break;
>
> Right now, it drops all lines starting with a #, so, as far as I can
> see, it is not affected of the problem that had to be patched in
> qmail-lint, right?
Vice-versa. It was qmail-lint which wasn't doing the same thing as
control_readfile().
> Well, shouldn't the snippet above be modified to discard the rest of a
> line if a '#' sign is found (so, # declares a comment, no matter where
> it's located)?
Well, maybe, but that's not what it does do.
--
-russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice | that freedom is the
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | cause of world peace.