git/compat
Junio C Hamano 7e6073d270 compat/regex: fix argument order to calloc(3)
Windows compiler suddenly started complaining that calloc(3) takes
its arguments in <nmemb, size> order.  Indeed, there are many calls
that has their arguments in a _wrong_ order.

Fix them all.

A sample breakage can be seen at

  https://github.com/git/git/actions/runs/9046793153/job/24857988702#step:4:272

[Backported from f01301aabe (compat/regex: fix argument order to
calloc(3), 2024-05-11).]

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
2024-10-30 15:27:18 +01:00
..
fsmonitor Merge branch 'jh/fsmonitor-darwin-modernize' 2022-12-19 11:46:14 +09:00
linux
nedmalloc
poll
regex compat/regex: fix argument order to calloc(3) 2024-10-30 15:27:18 +01:00
simple-ipc
stub
vcbuild
win32 Merge branch 'sk/win32-close-handle-upon-pthread-join' 2023-01-23 13:39:51 -08:00
.gitattributes
access.c
apple-common-crypto.h
basename.c
bswap.h
compiler.h
disk.h
fileno.c
fopen.c
hstrerror.c
inet_ntop.c
inet_pton.c
memmem.c
mingw.c mingw: drop bogus (and unneeded) declaration of `_pgmptr` 2024-10-30 15:27:18 +01:00
mingw.h
mkdir.c
mkdtemp.c
mmap.c
msvc.c
msvc.h
nonblock.c mark unused parameters in trivial compat functions 2022-10-17 21:24:03 -07:00
nonblock.h
obstack.c
obstack.h
open.c
pread.c
precompose_utf8.c
precompose_utf8.h
qsort_s.c
regcomp_enhanced.c use enhanced basic regular expressions on macOS 2023-01-08 10:06:34 +09:00
setenv.c
sha1-chunked.c
sha1-chunked.h
snprintf.c
stat.c
strcasestr.c
strdup.c
strlcpy.c
strtoimax.c
strtoumax.c
terminal.c git-compat-util.h: use "UNUSED", not "UNUSED(var)" 2022-09-01 10:49:48 -07:00
terminal.h
unsetenv.c
win32.h
win32mmap.c
winansi.c compat/winansi: check for errors of CreateThread() correctly 2023-02-01 14:36:19 -08:00
zlib-uncompress2.c