NetBSD Problem Report #7765

Received: (qmail 7250 invoked from network); 12 Jun 1999 15:15:43 -0000
Message-Id: <199906121514.QAA07590@fang.demon.co.uk>
Date: Sat, 12 Jun 1999 16:14:54 +0100 (BST)
From: douglas+mail@fang.demon.co.uk
Reply-To: douglas+mail@fang.demon.co.uk
To: gnats-bugs@gnats.netbsd.org
Subject: sendfile has reversed patch-ab
X-Send-Pr-Version: 3.95

>Number:         7765
>Category:       pkg
>Synopsis:       Sendfile patch-ab is reversed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 12 08:20:00 +0000 1999
>Closed-Date:    Sat Jun 12 21:33:27 +0000 1999
>Last-Modified:  Sat Jun 12 21:35:01 +0000 1999
>Originator:     Douglas Brebner
>Release:        NetBSD-1.4
>Organization:
>Environment:

System: NetBSD aoife 1.4 NetBSD 1.4 (AOIFE_INSECURE) #0: Sun May 23 13:21:54 BST 1999 douglas@aoife:/usr/src/sys/arch/i386/compile/AOIFE_INSECURE i386


>Description:
	The sendfile's patch-ab is reversed
>How-To-Repeat:
	cd /usr/pkgsrc/net/sendfile; make
>Fix:
	Use following patch instead:

--- src/sendfiled.c.orig	Thu Oct 29 16:48:08 1998
+++ src/sendfiled.c	Sat Jun 12 15:55:38 1999
@@ -2945,7 +2945,7 @@
       exit(1);
     }
     if (wlock_file(lockf)<0) {
-      snprintf(MAXS(tmp),"cannot lock %s : ",lockfn,strerror(errno));
+      snprintf(MAXS(tmp),"cannot lock %s : %s",lockfn,strerror(errno));
       dbgout(tmp);
       exit(1);
     }
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tron 
State-Changed-When: Sat Jun 12 14:33:27 PDT 1999 
State-Changed-Why:  
I corrected the patch file, thanks. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.