[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Bug in cmdline/main.c::parse_date(), with fix

From: Lele Gaifax <lele_at_seldati.it>
Date: 2002-02-20 10:11:50 CET

The function bombs when given any word not recognized by
revision_from_word(). When the argument to '-D' does not contain a ':'
char, the function sets `right_date' to NULL, then checks if the
parameter is a know "keyword", then it does a "if (*right_date)" that
is evidently wrong, and the intention was surely to do a "if
(right_date)", without deferring it.

I'm just starting looking around with svn, and I'm not yet up to
providing a proper patch, since I'm still learning the svn
way-of-doing. My apologies if this is not the right forum.

bye, lele.

nickname: Lele Gaifax	| Quando vivro' di quello che ho pensato ieri
real: Emanuele Gaifas	| comincero' ad aver paura di chi mi copia.
email: lele@seldati.it	|		-- Fortunato Depero, 1929.
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:09 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.