Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-01 | tarfile: set directory mode to at least 0500, don't extract fflags | Yorick van Pelt | |
We don't need SGID, or any ACL's. We also want to keep every dir +rx. | |||
2022-03-24 | Revert "TarArchive: Small refactoring" | Maximilian Bosch | |
This reverts commit 50a35860ee9237d341948437c5f70a7f0987d393. With this change Nix fails to open bzip2 logfiles that were created from builds with no stdout/stderr. | |||
2021-12-10 | extract_archive: fix "Hard-link target '...'" error | Yorick van Pelt | |
Fixes #5741 | |||
2021-12-10 | extract_archive: use copy_pathname instead of set_pathname. | Yorick van Pelt | |
Libarchive documentation mentions that archive_entry_set_pathname expects us to keep the passed string alive, which we don't. | |||
2021-08-30 | TarArchive: Small refactoring | Eelco Dolstra | |
2021-08-30 | Don't segfault if archive_entry_pathname() returns null | Eelco Dolstra | |
Issues #4499. | |||
2021-04-15 | Drop libbz2 / zlib / lzma dependency + style fixes | Eelco Dolstra | |
2021-03-10 | Use libarchive for all compression | Yorick van Pelt | |
2020-12-02 | read(): Use char * instead of unsigned char * | Eelco Dolstra | |
This gets rid of some pointless casts. | |||
2019-12-19 | tarfile.cc: Restore timestamps | Eelco Dolstra | |
This is needed to get the lastModified attribute of GitHub flakes. | |||
2019-12-19 | tarfile.cc: Don't change the cwd | Eelco Dolstra | |
Nix is multithreaded so it's not safe to change the cwd. | |||
2019-12-19 | tarfile.cc: Style fixes | Eelco Dolstra | |
2019-12-09 | further clean up libarchive code | Yorick van Pelt | |
2019-12-07 | Clean up libarchive support | Puck Meerburg | |
2019-12-07 | remove rust unpack_tarfile ffi | Yorick van Pelt | |
2019-12-07 | code 'cleanup' | Yorick van Pelt | |
2019-12-07 | add wrapper function around libarchive to c++ errors | Yorick van Pelt | |
2019-12-07 | fixup! libarchive proof of concept | Yorick van Pelt | |
2019-12-07 | libarchive proof of concept | Yorick van Pelt | |
2019-11-27 | Fix segfault on i686-linux | Eelco Dolstra | |
https://hydra.nixos.org/build/107467517 Seems that on i686-linux, gcc and rustc disagree on how to return 1-word structs: gcc has the caller pass a pointer to the result, while rustc has the callee return the result in a register. Work around this by using a bare pointer. | |||
2019-11-26 | Drop remaining uses of external "tar" | Eelco Dolstra | |
Also, fetchGit now runs in O(1) memory since we pipe the output of 'git archive' directly into unpackTarball() (rather than first reading it all into memory). | |||
2019-11-26 | Move code around | Eelco Dolstra | |