3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
guix/nix
Ludovic Courtès 0c5028faea daemon: Fix 'HashSink::currentHash()'.
Before that, calls to 'HashSink::currentHash()' would eventually lead to
a segfault because the underlying gcrypt handle has been closed.  (Note
that this method is only used via 'importPaths' and 'exportPath', though.)

* nix/libutil/gcrypt-hash.hh (struct guix_hash_context): Add a
  constructor and a copy constructor; move out of 'extern "C"'.
* nix/libutil/gcrypt-hash.cc (guix_hash_final): Clear 'md_handle' upon
  exit.
* nix/sync-with-upstream (top_srcdir): Change hash.{cc,hh} to read
  'struct Ctx' instead of 'union Ctx'.
2013-12-19 00:02:49 +01:00
..
boost build: Include a copy of Nix's libstore and daemon; build it. 2012-12-03 23:05:08 +01:00
guix-register guix-register: Allow the initial directory creation to proceed. 2013-09-24 23:40:49 +02:00
libstore build: Include a copy of Nix's libstore and daemon; build it. 2012-12-03 23:05:08 +01:00
libutil daemon: Fix 'HashSink::currentHash()'. 2013-12-19 00:02:49 +01:00
nix-daemon daemon: Add libgcrypt call to state that the initialization is over. 2013-12-19 00:02:49 +01:00
scripts list-runtime-roots: List files referenced by environment variables. 2013-10-29 00:08:44 +01:00
.gitignore build: Include a copy of Nix's libstore and daemon; build it. 2012-12-03 23:05:08 +01:00
sync-with-upstream daemon: Fix 'HashSink::currentHash()'. 2013-12-19 00:02:49 +01:00