mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-07-31 21:09:01 +02:00
beb34bac0ac42c6f47e5be4fe2839e9ec26f3ce2
Use ssize_t, not int, to store result of readlink. Check for ssize_t overflow as well as size_t overflow, as POSIX says the result of readlink is implementation-defined when ssize_t overflows. Remove unnecessary cast to char*. Use free+malloc instead of realloc, as the storage doesn't need to be preserved and it's clearer and can be more efficient that way. (SIZE_MAX, SSIZE_MAX): New macros, if <limits.h> doesn't declare.
…
Description
These are the GNU core utilities. This package is the union of
the GNU fileutils, sh-utils, and textutils packages.
Languages
C
56.4%
Shell
27.7%
Perl
11.6%
Makefile
2.2%
M4
0.9%
Other
1.2%