Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2000 12:12:55 -0400 (EDT)
From:      James Housley <housley@thehousleys.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/18058: ctm: error with large file in cvs-cur.6200xEmpty.gz
Message-ID:  <200004171612.MAA01231@baby.int.thehousleys.net>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 17 09:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>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?200004171612.MAA01231>