From nobody  Mon Jan 19 00:01:21 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id AAA05509;
          Mon, 19 Jan 1998 00:01:21 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199801190801.AAA05509@hub.freebsd.org>
Date: Mon, 19 Jan 1998 00:01:21 -0800 (PST)
From: shiba@mxs.meshnet.or.jp
To: freebsd-gnats-submit@freebsd.org
Subject: 3.0 - current lpd for network printer
X-Send-Pr-Version: www-1.0

>Number:         5519
>Category:       bin
>Synopsis:       3.0 - current lpd for network printer
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 19 00:10:01 PST 1998
>Closed-Date:    Tue Jan 20 06:43:16 PST 1998
>Last-Modified:  Tue Jan 20 06:44:19 PST 1998
>Originator:     shiba
>Release:        3.0-current
>Organization:
>Environment:
>Description:
network printer name cannot resolve
>How-To-Repeat:

>Fix:
--- printcap.c.~1~      Mon Dec 29 08:29:28 1997
+++ printcap.c  Mon Jan 12 18:15:53 1998
@@ -218,7 +218,7 @@
 
        if ((pp->printer = capdb_canonical_name(bp)) == 0)
                return PCAPERR_OSERR;
-
+       pp->remote_host = 0;
 #define CHK(x) do {if ((x) == PCAPERR_OSERR) return PCAPERR_OSERR;}while(0)
        CHK(capdb_getaltstr(bp, "af", "acct.file", 0, &pp->acct_file));
        CHK(capdb_getaltnum(bp, "br", "tty.rate", 0, &pp->baud_rate));

>Release-Note:
>Audit-Trail:

From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To: shiba@mxs.meshnet.or.jp
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: bin/5519: 3.0 - current lpd for network printer
Date: Mon, 19 Jan 1998 09:45:17 -0500 (EST)

 <<On Mon, 19 Jan 1998 00:01:21 -0800 (PST), shiba@mxs.meshnet.or.jp said:
 
 > -
 > +       pp->remote_host = 0;
 
 This patch is erroneous.  init_printer() is responsible for all such
 initializations.
 
 -GAWollman
 
 --
 Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
 wollman@lcs.mit.edu  | O Siem / The fires of freedom 
 Opinions not those of| Dance in the burning flame
 MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick

From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To: Shiba <shiba@mxs.meshnet.or.jp>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/5519: 3.0 - current lpd for network printer
Date: Mon, 19 Jan 1998 20:18:48 -0500 (EST)

 <<On Tue, 20 Jan 1998 08:32:07 +0900, Shiba <shiba@mxs.meshnet.or.jp> said:
 
 > if I didnot apply this patch,
 
 > "/kernel: pid 4516 (lpd), uid 0: exited on signal 11" on my machine.
 
 Add a line:
 
 	init_printer(pp);
 
 before:
 
 	status = getprintcap(printer, pp);
 
 in recvjob.c:recvjob().
 
 -GAWollman
 
 --
 Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
 wollman@lcs.mit.edu  | O Siem / The fires of freedom 
 Opinions not those of| Dance in the burning flame
 MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick
 
 --UAA11931.885259114/khavrinen.lcs.mit.edu--
State-Changed-From-To: open->closed 
State-Changed-By: wollman 
State-Changed-When: Tue Jan 20 06:43:16 PST 1998 
State-Changed-Why:  
Fixed in rev. 1.13 of printjob.c. 
>Unformatted:
