| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a31aff8 commit 38ee502
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -98,7 +98,8 @@ public static File archiveTARFiles(File base, Iterable<File> files, String archi | |||
| 98 | 98 | tarFile.deleteOnExit(); | |
| 99 | 99 | try (TarArchiveOutputStream tos = new TarArchiveOutputStream(new GZIPOutputStream(new BufferedOutputStream( | |
| 100 | 100 | new FileOutputStream(tarFile))))) { | |
| 101 | - tos.setLongFileMode(TarArchiveOutputStream.LONGFILE_GNU); | ||
| 101 | + tos.setLongFileMode(TarArchiveOutputStream.LONGFILE_POSIX); | ||
| 102 | + tos.setBigNumberMode(TarArchiveOutputStream.BIGNUMBER_POSIX); | ||
| 102 | 103 | for (File file : files) { | |
| 103 | 104 | // relativize with method using Path otherwise method with File resolves the symlinks | |
| 104 | 105 | // and this is not want we want. If the file is a symlink, the relativized path should | |
| Back | FazBrowse Home | New Git URL |
0 commit comments