aboutsummaryrefslogtreecommitdiff
path: root/toys/lsb/hostname.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-06-30 21:41:11 -0500
committerRob Landley <rob@landley.net>2018-06-30 21:41:11 -0500
commit5a6179f8c3674792b680cf6ab23b7550acc2ed34 (patch)
treed65eeeec888b419d05548b3885b47980bd19305f /toys/lsb/hostname.c
parentde365c8a091ac758f83de68d8986a54959063067 (diff)
downloadtoybox-5a6179f8c3674792b680cf6ab23b7550acc2ed34.tar.gz
Loop retrying larger allocation sizes for bufgetpwuid/bufgetgrgid.
Slightly tweaked version of Elliott's patch. We probably only need to do this for groups (struct group * has a list of users that belong to it, but struct passwd doesn't, getgrouplist() is separate) but keeping the code of the two similar in case there's a way to merge them later.
Diffstat (limited to 'toys/lsb/hostname.c')
0 files changed, 0 insertions, 0 deletions