[PATCH] linedit, deluser: use POSIX getpwent instead of getpwent_r

Denys Vlasenko vda.linux at googlemail.com
Thu Feb 5 13:09:36 UTC 2015


On Fri, Apr 25, 2014 at 9:36 AM, Natanael Copa <ncopa at alpinelinux.org> wrote:
> Prefer use POSIX getpwent over glibc extension getpwent_r. This fixes
> building with musl libc with CONFIG_USE_BB_PWD_GRP disabled.

Sorry, I missed this patch.

How much static data ("data" or "bss" increase according to "size busybox")
do these functions pull in in static build?

The comments specifically say they use getpwent_r because that avoids
static data size penalty, usually about 1k.


More information about the busybox mailing list