[vlc-devel] commit: Simplify, fix and inline strcasecmp and strncasecmp ( Rémi Denis-Courmont )

Hannes Domani ssbssa at yahoo.de
Wed May 28 12:19:51 CEST 2008


> > possible solution:
> > for (size_t i = 0; s1[i] || s2[i]; i++)
> 
> No. That would yield incorrect results if a string
> is shorter than the other.

just for clarification: wouldn't the for-loop only end
if both strings are the same?


regards
Domani Hannes


      __________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com




More information about the vlc-devel mailing list