summaryrefslogtreecommitdiff
path: root/src/fmt.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-04-26 17:14:54 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-04-26 18:20:19 -0700
commit6c199713ed384d58e23671f58f646afcf06fabf8 (patch)
treecb1fa9982b94a814decf6d5ad4039d8d8b117dbb /src/fmt.c
parentd178b497542b19571dd6896db561c46ec2e451c3 (diff)
downloadcoreutils-6c199713ed384d58e23671f58f646afcf06fabf8.tar.gz
chmod: pacify GCC 13
* src/chmod.c (main): Use xpalloc instead of X2REALLOC, and make the corresponding variables signed instead of unsigned. When reallocating the buffer, this grows it by a factor of 1.5, not 2. This also pacifies gcc -Wanalyzer-null-dereference.
Diffstat (limited to 'src/fmt.c')
0 files changed, 0 insertions, 0 deletions