[PATCH] Teach rtems_tarfs_load() about symlinks

Gedare Bloom gedare at rtems.org
Fri Mar 7 14:54:17 UTC 2014


Looks good to me.
-Gedare

On Thu, Mar 6, 2014 at 10:37 PM, Nick Withers <nick.withers at anu.edu.au> wrote:
> Hi all,
>
> The attached patch teaches rtems_tarfs_load() about symlinks, as well as
> making it fail if it encounters an unsupported tar file entry type
> (e.g., hard links) rather than silently ignoring the 512 B block.
>
> It tries to be consistent with the existing code which doesn't e.g.
> check tar string field NUL termination or printf() on error.
>
> Happy Friday for those in the "right" time-zones!
> --
> Nick Withers
>
> Embedded Systems Programmer
> Department of Nuclear Physics, Research School of Physics and Engineering
> The Australian National University (CRICOS: 00120C)
>
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel
>



More information about the devel mailing list