From hsu@thud.cdrom.com  Tue Nov 15 01:11:29 1994
Received: from thud.cdrom.com (thud.cdrom.com [192.216.222.13]) by freefall.cdrom.com (8.6.8/8.6.6) with ESMTP id BAA18544 for <FreeBSD-gnats-submit@freefall.cdrom.com>; Tue, 15 Nov 1994 01:11:29 -0800
Received: (from hsu@localhost) by thud.cdrom.com (8.6.9/8.6.6) id BAA02890; Tue, 15 Nov 1994 01:11:50 -0800
Message-Id: <199411150911.BAA02890@thud.cdrom.com>
Date: Tue, 15 Nov 1994 01:11:50 -0800
From: Jeffrey Hsu <hsu@thud.cdrom.com>
Reply-To: hsu@thud.cdrom.com
To: FreeBSD-gnats-submit@freefall.cdrom.com
Subject: cvs commit core dumps
X-Send-Pr-Version: 3.2

>Number:         19
>Category:       gnu
>Synopsis:       cvs commit core dumps on multiple files
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    core (FreeBSD core team)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 15 01:20:00 1994
>Closed-Date:    Sat Apr 22 10:05:46 PDT 1995
>Last-Modified:
>Originator:     Jeffrey &
>Release:        FreeBSD 2.0.3-Alpha3 i386
>Organization:
>Environment:
>Description:

	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
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nate 
State-Changed-When: Sat Apr 22 10:05:46 PDT 1995 
State-Changed-Why:  
This bug is apparently fixed in the new version of CVS in the tree. 
>Unformatted:




