[BusyBox] my_getpw*
Vladimir N. Oleynik
dzo at simtreas.ru
Mon Sep 30 07:38:03 UTC 2002
I wrote:
> Hi, Erik.
>
> my_getpw(uid/gid) and applets used it have problem:
> if username for uid not found, applets can`t detect it
> (but code pessent). Also "%8ld " format is bad:
> spaces not required (applets have self format
> or spec format (tar applet) and overflow for "id" applet...)
> This problem also pressent in stable version.
> Patch for unstable in attach.
>
> --w
> vodz
>
> --------------------------------------------------------------------------------
> Name: last_patch57.gz
> last_patch57.gz Type: application/x-gzip
> Encoding: base64
Oops.
For tar.c not correct. Must
+ if (my_getgrgid(header.gname, statbuf->st_gid))
to
+ if (my_getgrgid(header.gname, statbuf->st_gid) == NULL)
--w
vodz
More information about the busybox
mailing list