diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-04-26 17:14:54 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-04-26 18:20:19 -0700 |
commit | 6c199713ed384d58e23671f58f646afcf06fabf8 (patch) | |
tree | cb1fa9982b94a814decf6d5ad4039d8d8b117dbb /src/fmt.c | |
parent | d178b497542b19571dd6896db561c46ec2e451c3 (diff) | |
download | coreutils-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