From: Tobias Geerinckx-Rice Date: Wed, 3 Oct 2018 23:30:42 +0200 Subject: [PATCH] bastet: Change source of unordered_set. This allows building bastet 0.43.2 with boost >=1.66. It was backported verbatim from the upstream master branch. From 0e03f8d4d6bc6949cf1c447e632ce0d1b98c4be1 Mon Sep 17 00:00:00 2001 From: Federico Poloni Date: Wed, 4 Oct 2017 19:35:01 +0200 Subject: [PATCH] Changed source of unordered_set (should hopefully fix #6 without reopening #1) --- BastetBlockChooser.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BastetBlockChooser.hpp b/BastetBlockChooser.hpp index 992e556..7ee3b7c 100644 --- a/BastetBlockChooser.hpp +++ b/BastetBlockChooser.hpp @@ -23,8 +23,7 @@ #include "Well.hpp" -#include -#include +#include #include namespace Bastet{ @@ -75,7 +74,7 @@ namespace Bastet{ public: Searcher(BlockType b, const Well *well, Vertex v, WellVisitor *visitor); private: - std::tr1::unordered_set _visited; + boost::unordered_set _visited; //std::set _visited; ^^ the above is more efficient, we need to do many inserts BlockType _block; const Well *_well; accounts.scm?id=1f2b4228b580b8b758f3c7063a84641c98870b1d'>commitdiff
AgeCommit message (Expand)Author
2019-08-28accounts: Delete duplicate entries....When adding multiple instances of a service requiring some user account/group, we could end up with multiple entries for that account or group in /etc/passwd or /etc/group. * gnu/build/accounts.scm (database-writer)[write-entries]: Add call to 'delete-duplicates'. * tests/accounts.scm ("write-passwd with duplicate entry"): New test. Ludovic Courtès
2019-04-27tests: Adjust accounts test to shell-as-config change....This is a followup to 504a0fc636ec591e65b4a229a37e522e425d8a0c. * tests/accounts.scm ("allocate-passwd with previous state"): Change expected 'shell' for "alice" to "/bin/sh". Ludovic Courtès
2019-03-25accounts: Add default value for the 'home-directory' field of <user-account>....* gnu/system/accounts.scm (<user-account>)[home-directory]: Mark as thunked and add a default value. (default-home-directory): New procedure. * doc/guix.texi (User Accounts): Remove 'home-directory' from example. * gnu/system/examples/bare-bones.tmpl: Likewise. * gnu/system/examples/beaglebone-black.tmpl: Likewise. * gnu/system/examples/desktop.tmpl: Likewise. * gnu/system/examples/docker-image.tmpl: Likewise. * gnu/system/examples/lightweight-desktop.tmpl: Likewise. * gnu/system/install.scm (installation-os): Likewise. * gnu/tests.scm (%simple-os): Likewise. * gnu/tests/install.scm (%minimal-os, %minimal-os-on-vda): (%separate-home-os, %encrypted-root-os, %btrfs-root-os): Likewise. * tests/accounts.scm ("allocate-passwd") ("allocate-passwd with previous state"): Likewise. Ludovic Courtès
2019-03-07Add (gnu build accounts)....* gnu/build/accounts.scm, tests/accounts.scm: New files. * Makefile.am (SCM_TESTS): Add tests/accounts.scm. * gnu/local.mk (GNU_SYSTEM_MODULES): Add build/accounts.scm. Ludovic Courtès