Bug 18058

Summary: ctm: error with large file in cvs-cur.6200xEmpty.gz
Product: Base System Reporter: James E. Housley <housley>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description James E. Housley 2000-04-17 17:20:00 UTC
	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.

Fix: This fix will work, don't know if it is the desired one by the
	maintainers.
How-To-Repeat: 
	mkdir /usr/FREEBSD_CVS
	ctm -F -b /usr/FREEBSD_CVS -e src/sys/dev/isp/asm_pci.h,v
Comment 1 Andre Albsmeier 2000-06-21 08:39:13 UTC
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...
Comment 2 James Housley 2000-06-21 19:14:45 UTC
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
Comment 3 nra freebsd_committer freebsd_triage 2000-07-21 03:34:44 UTC
State Changed
From-To: open->closed

Fixed by chuckr in revision 1.15 of ctm.h.