From nobody@FreeBSD.org  Sat Jan 26 11:12:03 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id B96EC37B400
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Jan 2002 11:12:02 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g0QJC2K25176;
	Sat, 26 Jan 2002 11:12:02 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200201261912.g0QJC2K25176@freefall.freebsd.org>
Date: Sat, 26 Jan 2002 11:12:02 -0800 (PST)
From: Eyjlfur Gislason <eyg@lv.fo>
To: freebsd-gnats-submit@FreeBSD.org
Subject: lpd does not garantie that controlfiles begin with "cf"
X-Send-Pr-Version: www-1.0

>Number:         34309
>Category:       bin
>Synopsis:       lpd(8) does not garantie that controlfiles begin with "cf"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gad
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 26 11:20:01 PST 2002
>Closed-Date:    
>Last-Modified:  Wed May 21 21:23:47 UTC 2008
>Originator:     Eyjlfur Gislason
>Release:        
>Organization:
Teldurgevin
>Environment:
Printing from HPUX to a linux boks lpd creates controlfiles in the spool directory begining with "cAXXXX" instead of "cfXXXX", i have 
corrected this bug in lpr-0.48 these changes:
164,165d163
<                         cp[0]='c'; /* Eyjlfur Gislason */
<                         cp[1]='f'; /* Eyjlfur Gislason */
169d166
<                       tfname[1] = 'f'; /* Eyjlfur Gislason */
   
>Description:
I don't know if this is the right place to post bugs on lpd
i downloaded the source from the slackware distribution.
>How-To-Repeat:
Remote print from HPUX 11 to lpd-0.48      
>Fix:
at line 164  in  recvjob.c insert:
cp[1]='c'; 
cp[1]='f'; 
in order to garantie that controlfile name starts with "cf"
>Release-Note:
>Audit-Trail:

From: David Malone <dwmalone@maths.tcd.ie>
To: =?iso-8859-1?Q?Eyj=F3lfur?= Gislason <eyg@lv.fo>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/34309: lpd does not garantie that controlfiles begin with "cf"
Date: Sat, 26 Jan 2002 19:47:16 +0000

 On Sat, Jan 26, 2002 at 11:12:02AM -0800, Eyjlfur Gislason wrote:
 > >Description:
 > I don't know if this is the right place to post bugs on lpd
 > i downloaded the source from the slackware distribution.
 
 I think you may be confused. This list is for reporting bugs in
 FreeBSD. If the bug you have found is in slackware then you should
 report it to the slackware people. I think their website is
 http://www.slackware.com/
 
 If you have no objections, I will close this bug report.
 
 	David.
Responsible-Changed-From-To: freebsd-bugs->gad 
Responsible-Changed-By: dd 
Responsible-Changed-When: Fri Mar 8 20:57:21 PST 2002 
Responsible-Changed-Why:  
Over to lpd maintainer.  It looks like the submitter wasn't actually using 
lpd on FreeBSD, but I think slackware may have stolen our lpd, so it might be 
our bug.  I'm sure Garance will know if any of this makes sense or if someone 
put crack in my caffeine. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34309 

From: Garance A Drosehn <gad@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, eyg@lv.fo
Cc:  
Subject: Re: misc/34309: lpd does not garantie that controlfiles begin
 with "cf"
Date: Sat, 9 Mar 2002 02:25:05 -0500

 dd@FreeBSD.org writes:
 >    It looks like the submitter wasn't actually using lpd on
 >    FreeBSD, but I think slackware may have stolen our lpd, so...
 
 Almost all "bsd" lpr's are related to each other in one way or
 other, no matter what operating system they turn up in.  What
 slackware is using is some snapshot of lpr from one of the
 BSD's, which I think they actually picked up from Debian.  If
 it is a snapshot of FreeBSD's lpr, it is not a recent snapshot.
 It does not have the major reworking that Garrett Wollman did
 back in 1997, for instance.
 
 Still, it is true that this source is related to what we use.
 If the same HPUX system sent the same print job to a current
 FreeBSD system, I believe the job would be rejected due to the
 checking in the newer ctl_renametf() routine in ctlinfo.c.  I
 imagine that isn't quite what we would want.
 
 I can't do much to help the person who is using the older
 version of lpr on slackware, but I probably should make some
 change to lpr on freebsd to handle this same situation.
 
 -- 
 Garance Alistair Drosehn            =   gad@eclipse.acs.rpi.edu
 Senior Systems Programmer                   or  gad@freebsd.org
 Rensselaer Polytechnic Institute            or  drosehn@rpi.edu
>Unformatted:
