On Wed, Jan 14, 2009 at 05:18:39PM +0100, Samuel Tardieu wrote: > My taste would favor: > > static int has_special(const char *p) > { > for (; *p; p++) > if (isspecial(*p)) > return 1; > return 0; > } That was my first thought upon reading the other two, as well. And I agree with all of the reasoning you gave. -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html