commit | 5e62a3d016633d4d97906f0f73298dc8e8b6a42b | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Sat Jan 03 17:53:49 2015 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Sat Jan 03 17:53:49 2015 +0100 |
tree | b0cdea416496237b3a15ea6f123371aff6168ecc | |
parent | 9dca6acaac3a49f1ff8ba9d3ca78853da6f59ae1 [diff] |
libpwdgrp: use a better estimate of max struct size Previous code's trick with bitwise OR was giving this on 32-bit x86: sizeof(struct passwd):28 sizeof(struct group):16 sizeof(struct spwd):36 sizeof(struct_result):60 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>