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

Re: SVN Property 'character-set' or 'encoding' or something like

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-08-07 06:34:44 CEST

On Fri, 2004-08-06 at 09:46, Branko Čibej wrote:
> - && (strncmp (mime_type, "image/x-xbitmap", len) != 0)
> - && (strncmp (mime_type, "image/x-xpixmap", len) != 0)
> + && (len != 15 || strncmp (mime_type, "image/x-xbitmap", 15) != 0)
> + && (len != 15 || strncmp (mime_type, "image/x-xpixmap", 15) != 0)

Isn't this what "strcmp" is for?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Aug 7 06:36:44 2004

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.