Bug 19

Summary: cvs commit core dumps on multiple files
Product: Base System Reporter: Jeffrey Hsu <hsu>
Component: gnuAssignee: FreeBSD Core Team <core>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Jeffrey Hsu 1994-11-15 01:20:00 UTC
	cvs commit core dumps when given multiple files in a subdirectory.
	More precisely, in /usr/src/gnu/usr.bin/cvs/cvs/commit.c:

	655     p = findnode (cilist, file);
	656     if (p == NULL)
	657         return (0);
	658
	659     ci = (struct commit_info *) p->data;
	660     if (ci->status == T_MODIFIED)

	ci is NULL.

How-To-Repeat: 
	mkdir dir1
	cvs add dir1
	echo hi > dir1/hi
	echo hello > dir1/hello
	echo bye > dir1/bye
	cvs commit -m"die die" dir1/hi dir1/hello dir1/bye
Comment 1 nate freebsd_committer freebsd_triage 1995-04-22 18:05:46 UTC
State Changed
From-To: open->closed

This bug is apparently fixed in the new version of CVS in the tree.