Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2002 11:12:02 -0800 (PST)
From:      Eyjólfur Gislason <eyg@lv.fo>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/34309: lpd does not garantie that controlfiles begin with "cf"
Message-ID:  <200201261912.g0QJC2K25176@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         34309
>Category:       misc
>Synopsis:       lpd does not garantie that controlfiles begin with "cf"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>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:
>Originator:     Eyjólfur Gislason
>Release:        
>Organization:
Telduráđgevin
>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'; /* Eyjólfur Gislason */
<                         cp[1]='f'; /* Eyjólfur Gislason */
169d166
<                       tfname[1] = 'f'; /* Eyjólfur 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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201261912.g0QJC2K25176>