From: Han-Wen Nienhuys Date: Thu, 02 Nov 2006 01:26:54 GMT Subject: weird strncmp usage? Message-ID: Hi, the git source seems full of calls similar to strncmp (x, "constant string", 15) is there a reason not to use something like int strxmp (char const *x, char const *y) { return strncmp (x, y, strlen (y)); } everywhere? -- Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen