diff options
author | Pádraig Brady <P@draigBrady.com> | 2009-01-14 19:17:39 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2009-01-16 11:06:09 +0000 |
commit | 46d6df933ec6171fcfa0220dfb8f18f68293797b (patch) | |
tree | 77388a86324cecd5f76700dbec57803a7bffa847 /src/uname-uname.c | |
parent | 7b1967351c80c56abc5b8c6c4a66ffba80050c5c (diff) | |
download | coreutils-46d6df933ec6171fcfa0220dfb8f18f68293797b.tar.xz |
simplify mgetgroups() and avoid -Wsign-compare warnings
* gl/lib/mgetgroups.c: Avoid -Wsign-compare warning by using unsigned
types for the parameters of the new function realloc_groupbuf().
mgetgroups() was refactored to use this function rather than
explicitly allocating and copying from automatic storage itself.
* src/group-list.c: Use int rather than size_t as variable is
used in signed comparisons.
* src/id.c: ditto.
Diffstat (limited to 'src/uname-uname.c')
0 files changed, 0 insertions, 0 deletions