From housley@thehousleys.net  Mon Apr 17 09:12:57 2000
Return-Path: <housley@thehousleys.net>
Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201])
	by hub.freebsd.org (Postfix) with ESMTP id 0534137B644
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Apr 2000 09:12:57 -0700 (PDT)
	(envelope-from housley@thehousleys.net)
Received: from baby.int.thehousleys.net (baby.int.thehousleys.net [192.168.0.24])
	by thehousleys.net (8.9.3/8.9.3) with ESMTP id MAA57526
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Apr 2000 12:12:56 -0400 (EDT)
Received: (from housley@localhost)
	by baby.int.thehousleys.net (8.9.3/8.9.3) id MAA01231;
	Mon, 17 Apr 2000 12:12:55 -0400 (EDT)
Message-Id: <200004171612.MAA01231@baby.int.thehousleys.net>
Date: Mon, 17 Apr 2000 12:12:55 -0400 (EDT)
From: James Housley <housley@thehousleys.net>
Reply-To: housley@thehousleys.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: ctm: error with large file in cvs-cur.6200xEmpty.gz
X-Send-Pr-Version: 3.2

>Number:         18058
>Category:       bin
>Synopsis:       ctm: error with large file in cvs-cur.6200xEmpty.gz
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 17 09:20:00 PDT 2000
>Closed-Date:    Thu Jul 20 19:34:44 PDT 2000
>Last-Modified:  Thu Jul 20 19:36:03 PDT 2000
>Originator:     James Housley
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
The Housleys dot Net
>Environment:

	FreeBSD 2.2.8, FreeBSD 3.x, FreeBSD 4.x

>Description:

	src/usr.sbin/ctm/ctm/ctm_input.c limits files to 10Meg (10485760).
	cvs-cur.6200xEmpty.gz has a file, src/sys/dev/isp/asm_pci.h,v that
	is greather than 11Meg, actually 11913588 bytes.

>How-To-Repeat:

	mkdir /usr/FREEBSD_CVS
	ctm -F -b /usr/FREEBSD_CVS -e src/sys/dev/isp/asm_pci.h,v

>Fix:
	
	This fix will work, don't know if it is the desired one by the
	maintainers.

--- ctm.h	Fri Sep  3 08:24:20 1999
+++ ctm.h.new	Mon Apr 17 12:10:42 2000
@@ -26,7 +26,7 @@
 #include <sys/time.h>
 
 #define VERSION "2.0"
-#define MAXSIZE (1024*1024*10)
+#define MAXSIZE (1024*1024*20)
 
 #define SUBSUFF ".ctm"
 #define TMPSUFF ".ctmtmp"


>Release-Note:
>Audit-Trail:

From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc: housley@thehousleys.net
Subject: Re: bin/18058: ctm: error with large file in cvs-cur.6200xEmpty.gz
Date: Wed, 21 Jun 2000 09:39:13 +0200

 This would also unbreak 'ctm cvs-cur.6450.gz'.
 
 I would suggest bumping it up even more since cvs-cur.6450.gz
 expands to 20192371 byte which is quite close to 1024*1024*20.
 
 Or we should kill this MAXSIZE thing entirely...
 

From: James Housley <jim@thehousleys.net>
To: freebsd-gnats-submit@FreeBSD.org, housley@thehousleys.net
Cc:  
Subject: Re: bin/18058: ctm: error with large file in cvs-cur.6200xEmpty.gz
Date: Wed, 21 Jun 2000 14:14:45 -0400

 Please close this since the latest CTM reports patches were submitted by
 Stefan Esser to double MAXSIZE.  There however is question if that is
 enought!!!!!
 
 Jim
 -- 
 If it happens once, it's a bug.
 If it happens twice, it's a feature.
 If it happens more than twice, it's windows.
     -- Luiz de Barros
 
State-Changed-From-To: open->closed 
State-Changed-By: nra 
State-Changed-When: Thu Jul 20 19:34:44 PDT 2000 
State-Changed-Why:  
Fixed by chuckr in revision 1.15 of ctm.h. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=18058 
>Unformatted:
