[BusyBox] Interactive rm patch, and ...

Vladimir N. Oleynik dzo at simtreas.ru
Sun Apr 15 07:45:58 UTC 2001


Glenn,
> 
> "Vladimir N. Oleynik" wrote:
> >
> > Please restore my fault.
> > Hurry, hurry...
> >
> 
> As your in a hury i applied it myself.

;-) Thanks.

Also. I see you good work with ar/tar applets.
You can use my new function from libbb concat_path_file() for untar.c and save
few bytes.

-   dir = xmalloc(strlen(raw_tar_header.name) + strlen(base_path) + 2);
-   sprintf(dir, "%s/%s", base_path, raw_tar_header.name);
+   dir = concat_path_file(raw_tar_header.name, base_path);


--w
vodz





More information about the busybox mailing list