On Tue, 9 Oct 2001, C. L. McAvaney wrote:
> G'day all,
> I have discovered a little bug that is in versions 3.7.5, 3.7.6, 3.7.7 and
> 3.7.8.
> It is at line 174 in accounting.c:
> } else if( safestrncasecmp( s, "hold", 4 ) ){
>
> I think that there should be a "!" in front of the safestrncasecmp otherwise
> anything send back to lpd from the accounting filter other than accept will
> result in a JHOLD!
>
> Cheers,
> Christopher
I didn't look in the source but I was planning to report this as a bug
too because I have observed this behavior in practice. Fortunately,
there is an easy way around it (use the return value codes instead of
sending directions back to LPRng..)
-akop
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------