git/compat/regex
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
..
regcomp.c compat/regex: fix argument order to calloc(3) 2024-10-30 15:27:18 +01:00
regex.c compat/regex: move stdlib.h up in inclusion chain 2020-04-27 11:21:16 -07:00
regex.h Merge branch 'jk/asan-build-fix' 2020-01-30 14:17:09 -08:00
regex_internal.c compat/regex: fix argument order to calloc(3) 2024-10-30 15:27:18 +01:00
regex_internal.h compat/regex: move stdlib.h up in inclusion chain 2020-04-27 11:21:16 -07:00
regexec.c compat/regex: fix argument order to calloc(3) 2024-10-30 15:27:18 +01:00