cvs commit: src/lib/libarchive Makefile archive_write_set_format_pax.c archive_write_set_format_ustar.c src/lib/libarchive/test Makefile test_tar_filenames.c

Dag-Erling Smørgrav des at
Sat Apr 14 10:46:54 UTC 2007

Tim Kientzle <kientzle at> writes:
>   Log:
>   Conventionally, tar archives have always included a trailing '/'
>   for directories.  bsdtar used to add this, but that recently got
>   lost somehow.  So now I'm adding it back in libarchive.

Is that really a good idea?  Shouldn't this just be fixed in bsdtar's
display code?

>   The only odd part of doing this in libarchive:  Adding a directory to
>   a tar archive and then reading it back again can yield a different name.

I can imagine how this might trip up other (hypothetical) libarchive

Dag-Erling Smørgrav - des at

More information about the cvs-src mailing list