> From [EMAIL PROTECTED] Fri Feb  1 02:37:18 2002
> From: [EMAIL PROTECTED]
> Date: Fri, 1 Feb 2002 11:37:07 +0100
> Subject: 3.8.5  Set_hold_file: LOGIC ERROR- no HF_NAME in job information
> To: Patrick Powell <[EMAIL PROTECTED]>
>
> --- RESENT ---
>
> Hi,
>
> I've just install LPRng-3.8.5 but it breaks here (IRIX).
> lpq is saying
> Set_hold_file: LOGIC ERROR- no HF_NAME in job information
>
> What's going wrong?
> (I admit, I have an old printcap file (works fine with 3.8.1 at least))
>
> Thanks for any hints
>
> Helmut Jarausch
>
> Lehrstuhl fuer Numerische Mathematik
> Institute of Technology, RWTH Aachen
> D 52056 Aachen, Germany
>
>

Version LPRng-3.8.6 - Sat Feb  2 16:58:17 PST 2002
 
  HF_NAME not getting set when hold file read and it is not
  in file.  This makes updates miserable.
  (Problem spotted by: Helmut Jarausch <[EMAIL PROTECTED]>)

There was a revision in the information in the hold file,  and I
missed a case where it does not get set.


Apply the following patch:


*** common/getqueue.c   2002/01/23 01:01:16     1.2
--- common/getqueue.c   2002/02/03 23:38:03
***************
*** 743,748 ****
--- 743,751 ----
                Get_file_image_and_split( hf_name, 0, 0,
                        &job->info, Line_ends, 1, Value_sep,1,1,1,0);
        }
+       if( !Find_str_value(&job->info,HF_NAME,Value_sep)) ){
+               Set_str_value(&job->info,HF_NAME,hf_name);
+       }
  }
  
  /*

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to