[PATCH] fix calloc() and xcalloc() argument ordering

2014-09-04 Thread Arjun Sreedharan
@number first, @size second argument. Signed-off-by: Arjun Sreedharan --- builtin/for-each-ref.c | 2 +- imap-send.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/for-each-ref.c b/builtin/for-each-ref.c index 47bd624..69bba06 100644 --- a/builtin/for-e

Re: [PATCH] fix calloc() and xcalloc() argument ordering

2014-09-02 Thread Arjun Sreedharan
On 3 September 2014 00:12, Junio C Hamano wrote: > Arjun Sreedharan writes: > >> @number first, @size second argument. >> >> Signed-off-by: Arjun Sreedharan >> --- >> builtin/for-each-ref.c| 2 +- > > Thanks. compat/regex/ being borrowed code, I'd prefer not to touch > them, though. >

Re: [PATCH] fix calloc() and xcalloc() argument ordering

2014-09-02 Thread Junio C Hamano
Arjun Sreedharan writes: > @number first, @size second argument. > > Signed-off-by: Arjun Sreedharan > --- > builtin/for-each-ref.c| 2 +- Thanks. compat/regex/ being borrowed code, I'd prefer not to touch them, though. > compat/regex/regcomp.c| 12 ++-- > compat/reg

[PATCH] fix calloc() and xcalloc() argument ordering

2014-08-29 Thread Arjun Sreedharan
@number first, @size second argument. Signed-off-by: Arjun Sreedharan --- builtin/for-each-ref.c| 2 +- compat/regex/regcomp.c| 12 ++-- compat/regex/regex_internal.c | 4 ++-- compat/regex/regexec.c| 10 +- imap-send.c | 2 +- 5 files