From owner-freebsd-bugs Sat Jan 26 11:20: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 14A7D37B417 for ; Sat, 26 Jan 2002 11:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0QJK1H25932; Sat, 26 Jan 2002 11:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B96EC37B400 for ; 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: Eyjólfur Gislason To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/34309: lpd does not garantie that controlfiles begin with "cf" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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