]> Savannah Git Hosting - gnulib.git/commit
regex: pacify gcc -Wcalloc-transposed-args
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Apr 2025 01:36:29 +0000 (18:36 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Apr 2025 01:36:51 +0000 (18:36 -0700)
commit330cd18c01c74bf697c6b90a8bc4811710466b53
treebd9eb48e9f4f8943e65b1a57d7a4c5c0188ebcf6
parentefd5c380ff8062541d5fd98b050ecd3cb295917c
regex: pacify gcc -Wcalloc-transposed-args

* lib/regcomp.c (init_dfa, parse_bracket_exp)
(build_charclass_op):
* lib/regex_internal.c (create_ci_newstate, create_cd_newstate):
* lib/regexec.c (get_subexp, build_trtable):
When calling calloc, put size argument last.
ChangeLog
lib/regcomp.c
lib/regex_internal.c
lib/regexec.c