Bug 19 - cvs commit core dumps on multiple files
Summary: cvs commit core dumps on multiple files
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: gnu (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: FreeBSD Core Team
Depends on:
Reported: 1994-11-15 01:20 UTC by Jeffrey Hsu
Modified: 1994-11-15 01:20 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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);
	659     ci = (struct commit_info *) p->data;
	660     if (ci->status == T_MODIFIED)

	ci is NULL.

	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 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.