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

Re: [PATCH] for some of issue #649

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2003-01-07 15:38:50 CET

Branko Čibej <brane@xbc.nu> writes:
> What on earth are you doing, using strncmp to compare arrays that can
> contain nul bytes? Try memcmp, then this function might actually work
> correctly. Not that this has anything to do with FS code. :-)

D'oh, thanks! Forgot that it cuts out early on zero bytes, even if
you haven't reached N yet.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 7 16:25:15 2003

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