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

Re: [PATCH]: issue #2264 - multiple locks over ra_svn - v4

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-07-06 02:13:30 CEST

Christopher Ness <chris@nesser.org> writes:

> On Tue, 2005-07-05 at 21:07 +0100, Julian Foad wrote:
>> kfogel@collab.net wrote:
>> > VK Sameer <sameer@collab.net> writes:
>> >>+ strcmp (err->message, "Unknown command 'lock-many'") == 0)
>
> Since you seem to know the length of the strings you want to compare in
> your 6 instances of strcmp() shouldn't you be using the safer strncmp()
> function?

strncmp is neither safer nor equivalent.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 6 02:14:14 2005

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