[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: Christopher Ness <chris_at_nesser.org>
Date: 2005-07-06 00:33:32 CEST

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?

Cheers,
Chris

-- 
PGP Public Key: http://www.nesser.org/pgp-key/
18:30:48 up 18 min, 2 users, load average: 0.24, 0.20, 0.16

Received on Wed Jul 6 01:30:13 2005

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.