Re: [PATCH v2 1/3] add strnncmp() function

2014-06-17 Thread Jeremiah Mahler
Junio, On Tue, Jun 17, 2014 at 10:55:18AM -0700, Junio C Hamano wrote: > Jeremiah Mahler writes: > > > Add a strnncmp() function which behaves like strncmp() except it takes > > the length of both strings instead of just one. It behaves the same as > > strncmp() up to the minimum common length

Re: [PATCH v2 1/3] add strnncmp() function

2014-06-17 Thread Junio C Hamano
Jeremiah Mahler writes: > Add a strnncmp() function which behaves like strncmp() except it takes > the length of both strings instead of just one. It behaves the same as > strncmp() up to the minimum common length between the strings. When the > strings are identical up to this minimum common l

Re: [PATCH v2 1/3] add strnncmp() function

2014-06-17 Thread Jeremiah Mahler
Erik, On Tue, Jun 17, 2014 at 11:09:59AM +0200, Erik Faye-Lund wrote: > On Tue, Jun 17, 2014 at 9:34 AM, Jeremiah Mahler wrote: > > Add a strnncmp() function which behaves like strncmp() except it takes > > the length of both strings instead of just one. It behaves the same as > > strncmp() up t

Re: [PATCH v2 1/3] add strnncmp() function

2014-06-17 Thread Jeremiah Mahler
Torsten, On Tue, Jun 17, 2014 at 10:23:14AM +0200, Torsten Bögershausen wrote: > On 2014-06-17 09.34, Jeremiah Mahler wrote: > > Add a strnncmp() function which behaves like strncmp() except it takes > > the length of both strings instead of just one. It behaves the same as > > strncmp() up to th

Re: [PATCH v2 1/3] add strnncmp() function

2014-06-17 Thread Erik Faye-Lund
On Tue, Jun 17, 2014 at 9:34 AM, Jeremiah Mahler wrote: > Add a strnncmp() function which behaves like strncmp() except it takes > the length of both strings instead of just one. It behaves the same as > strncmp() up to the minimum common length between the strings. When the > strings are identi

Re: [PATCH v2 1/3] add strnncmp() function

2014-06-17 Thread Torsten Bögershausen
On 2014-06-17 09.34, Jeremiah Mahler wrote: > Add a strnncmp() function which behaves like strncmp() except it takes > the length of both strings instead of just one. It behaves the same as > strncmp() up to the minimum common length between the strings. When the minimum common length? Isn'n t th

[PATCH v2 1/3] add strnncmp() function

2014-06-17 Thread Jeremiah Mahler
Add a strnncmp() function which behaves like strncmp() except it takes the length of both strings instead of just one. It behaves the same as strncmp() up to the minimum common length between the strings. When the strings are identical up to this minimum common length, the length difference is re