[PATCH] support for user and group names in tar

Glenn L. McGrath bug1 at ihug.co.nz
Thu Apr 20 13:36:21 PDT 2006


On Thu, 20 Apr 2006 19:23:19 +0200
Natanael Copa <natanael.copa at gmail.com> wrote:

> +++ archival/libunarchive/get_header_tar.c	(working copy)
> @@ -124,6 +124,12 @@
>  	file_header->mtime = strtol(tar.formated.mtime, NULL, 8);
>  	file_header->link_name = (tar.formated.linkname[0] != '\0') ?
>  	    bb_xstrdup(tar.formated.linkname) : NULL;
> +#ifdef CONFIG_TAR_UNAME_GNAME

should be 
> +#ifdef CONFIG_FEATURE_TAR_UNAME_GNAME

:)

Did a simple test and it displayed uname/gname


Glenn


More information about the busybox mailing list