While attempting to debug a couple of other issues with ifhp-3.5.17 I
ended up confused for a while by some debugging output.

When I examined the source I found the following at line 3783 (in the
function Do_waitend()).



        SNPRINTF(endname, sizeof(endname))  "%s PID %d",
                Time_str(1,0), getpid() );
        { char *t; int c;
                for( t = endname; (c = cval(t)); ++t){
                        if( isspace(c) || c == ':' ) *t = '_';
                }
                lowercase(endname);
        }

        DEBUG1("Do_waitend: endname '%s'", endname );

        if ( Pjl_waitend_byjobname )
                strcpy(endname, Jobname);

Wouldn't it make more sense if the debugging output giving the value of
the variable endname came after the conditional resetting of it to
the value held in Jobname?

Duncan



-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRng MAILING LIST
The address you post from or your Reply-To address 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.
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,  call Patrick Powell or one of the friendly
staff at Astart Technologies for help.  Astart also does support for LPRng.
Also, check the Web Page at: http://www.lprng.com for any announcements.
Astart Technologies  (LPRng - Print Spooler http://www.lprng.com)
6741 Convoy Court
San Diego, CA 92111
858-874-6543 FAX 858-751-2435
-----------------------------------------------------------------------------

Reply via email to