diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-01-03 17:53:49 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-01-03 17:53:49 +0100 |
commit | 5e62a3d016633d4d97906f0f73298dc8e8b6a42b (patch) | |
tree | b0cdea416496237b3a15ea6f123371aff6168ecc /miscutils/setsid.c | |
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>
Diffstat (limited to 'miscutils/setsid.c')
0 files changed, 0 insertions, 0 deletions