[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?

Domani Hannes

Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.

More information about the vlc-devel mailing list