aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-07-26 00:26:32 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2021-07-26 00:59:37 -0700
commit39673b6d4cffe6315d2a572c3741777b3f6a3d28 (patch)
treedcde76021795fd54dd080a91213af1452d67e642 /scripts/git-hooks/commit-msg
parentls: demacroize (diff)
downloadcoreutils-39673b6d4cffe6315d2a572c3741777b3f6a3d28.tar.gz
coreutils-39673b6d4cffe6315d2a572c3741777b3f6a3d28.zip
ls: port to wider off_t, uid_t, gid_t
* src/ls.c (dired_pos): Now off_t, not size_t, since it counts output file offsets. (dired_dump_obstack): This obstack's file offsets are now off_t, not size_t. (format_user_or_group, format_user_or_group_width): ID arg is now uintmax_t, not unsigned long, since uid_t and gid_t values might exceed ULONG_MAX. (format_user_or_group_width): Use snprintf with NULL instead of sprintf with a discarded buffer. This avoids a stack buffer, and so should be safer.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions