Patch copied from Debian: https://anonscm.debian.org/cgit/pkg-games/lierolibre.git/tree/debian/patches/0001-Use-unaligned-access-define-over-checking-arch.patch?id=82910748906855f6e6bfe30b3f077e8c793ae424 From 396f19b6b7743d394307f70f0c0108419824437b Mon Sep 17 00:00:00 2001 From: Martin Erik Werner Date: Sun, 28 Jun 2015 16:31:34 +0200 Subject: [PATCH 1/3] Use unaligned access define over checking arch This todo item seems like it done, and just needed implementing... --- io/encoding.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gvl/io/encoding.hpp b/src/gvl/io/encoding.hpp index c491677..89bb612 100644 --- a/src/gvl/io/encoding.hpp +++ b/src/gvl/io/encoding.hpp @@ -374,7 +374,7 @@ struct octet_stream_writer // inlining of the common case if(std::size_t(end_ - cur_) >= len) { -#if GVL_X86 || GVL_X86_64 // TODO: A define that says whether unaligned access is allowed +#if GVL_UNALIGNED_ACCESS if(len < 64) // TODO: Tweak this limit { while(len > 4) -- 2.4.6 refslogtreecommitdiff
path: root/tests/guix-archive.sh
AgeCommit message (Expand)Author
2020-12-15serialization: 'restore-file' sets canonical timestamp and permissions....* guix/serialization.scm (restore-file): Set the permissions and mtime of FILE. * guix/nar.scm (finalize-store-file): Pass #:reset-timestamps? #f to 'register-items'. * tests/nar.scm (rm-rf): Add 'chmod' calls to ensure files are writable. ("write-file + restore-file with symlinks"): Ensure every file in OUTPUT passes 'canonical-file?'. * tests/guix-archive.sh: Run "chmod -R +w" before "rm -rf". Ludovic Courtès
2020-09-28tests: Simplify shell exit status negation;...* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-lint.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh: Use the shell '!' keyword to negate command exit status in place of 'if ...; then false; else true; fi' Eric Bavier
2019-12-12guix archive: Add '--list'....* guix/scripts/archive.scm (show-help, %options): Add '--list'. (list-contents): New procedure. (guix-archive): Honor the '--list' option. * tests/guix-archive.sh: Test it. * doc/guix.texi (Invoking guix archive): Document it. Ludovic Courtès