Changeset 9394aa5e in rtems for cpukit/libfs/src

Timestamp:
11/23/15 09:09:06 (8 years ago)
Author:
Pavel Pisa <pisa@…>
Branches:
5, master
Children:
d62dfc7
Parents:
3e1196d
git-author:
Pavel Pisa <pisa@…> (11/23/15 09:09:06)
git-committer:
Gedare Bloom <gedare@…> (11/23/15 15:40:15)
Message:

untar: do not exit with error when created directory already exists.

The problem exists for both RTEMS untar implementations and their
variants: Untar_FromMemory(), Untar_FromFile() and rtems_tarfs_load().

If filesystem object already exists at extracted directory path
then if it is directory, creation is ignored. Attempt
to delete/unlink object and make directory is tried for other cases.

This simple approach problem reported in ticket fixes #2413.
Behavior follows GNU tar and BSD tar practice for directories
but much more work is required to achieve full semantics
of the full featured tar implementation still.

(No files)

Note: See TracChangeset for help on using the changeset viewer.