]> git.ipfire.org Git - thirdparty/libarchive.git/commit
On Windows, make sure libarchive does not store the Windows style path
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Tue, 21 Feb 2012 08:18:32 +0000 (17:18 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Tue, 21 Feb 2012 08:18:32 +0000 (17:18 +0900)
commit6c8b32616fcd6ea1e14529dbeb503eb8357b225b
tree1f8fb4eafbc9f4f494e356b1b541b30bef5b5235
parent8eb4c87a87d4ae5e74848541460b366cabf863f2
On Windows, make sure libarchive does not store the Windows style path
separator '\' character into cpio, pax, ustar, gtar and zip archives,
because it is not interoperable between Windows and POSIX platform,
so we should replace '\' character in the pathnames with '/'.
libarchive/archive_windows.c
libarchive/archive_windows.h
libarchive/archive_write_set_format_cpio.c
libarchive/archive_write_set_format_cpio_newc.c
libarchive/archive_write_set_format_gnutar.c
libarchive/archive_write_set_format_pax.c
libarchive/archive_write_set_format_ustar.c
libarchive/archive_write_set_format_zip.c