[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs cores when no log message

From: Derek Robert Price
Subject: Re: cvs cores when no log message
Date: Tue, 25 Feb 2003 22:20:39 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

Mark D. Baushke wrote:

The following has a revised sanity.sh that works with remotecheck.

It might also be useful to write a test that does a
 rm -f empty.msg
 touch empty.msg
 cvs commit -F empty.msg

to exercise that code path as well...

        -- Mark

ChangeLog Entry:
2003-02-16  Mark D. Baushke  <mdb@cvshome.org>

        * logmsg.c (logfile_write): Do not pass a NULL pointer to
        fprintf() when we have an empty log message.
        (Reported by Piotr KUCHARSKI <chopin@sgh.waw.pl>.)
        * sanity.sh (editor): Add new tests to verify correct behavior of
        empty log messages.

Committed, without the extra codepath test you mention, though it does sound like a good idea.



Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
Doesn't expecting the unexpected make the unexpected become the expected?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]