Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: cc3b93c991e04aff49a44dbced53f070a06f426e
      
https://github.com/NixOS/nix/commit/cc3b93c991e04aff49a44dbced53f070a06f426e
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

  Changed paths:
    M src/libmain/shared.cc
    M src/libstore/download.cc
    M src/libutil/util.cc
    M src/libutil/util.hh

  Log Message:
  -----------
  Handle SIGINT etc. via a sigwait() signal handler thread

This allows other threads to install callbacks that run in a regular,
non-signal context. In particular, we can use this to signal the
downloader thread to quit.

Closes #1183.


  Commit: 90ee1e3fe3b3f0cba8dd31ae161eac79ba249291
      
https://github.com/NixOS/nix/commit/90ee1e3fe3b3f0cba8dd31ae161eac79ba249291
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    R tests/timeout.builder.sh
    M tests/timeout.nix
    M tests/timeout.sh

  Log Message:
  -----------
  Add a test for --max-silent-time


  Commit: 2579e32c2bf47a483b823fdf12f0ff66ecaf1b95
      
https://github.com/NixOS/nix/commit/2579e32c2bf47a483b823fdf12f0ff66ecaf1b95
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M src/libstore/build.cc

  Log Message:
  -----------
  Use std::unique_ptr for HookInstance


  Commit: 63e10b4d28e64107e51207f292ab0093a95c1bc6
      
https://github.com/NixOS/nix/commit/63e10b4d28e64107e51207f292ab0093a95c1bc6
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M src/libutil/util.hh

  Log Message:
  -----------
  Cleanup


  Commit: 21948deed99a3295e4d5666e027a6ca42dc00b40
      
https://github.com/NixOS/nix/commit/21948deed99a3295e4d5666e027a6ca42dc00b40
  Author: Eelco Dolstra <[email protected]>
  Date:   2017-01-19 (Thu, 19 Jan 2017)

  Changed paths:
    M src/libmain/shared.cc
    M src/libstore/build.cc
    M src/libutil/util.cc
    M src/libutil/util.hh
    M tests/timeout.nix
    M tests/timeout.sh

  Log Message:
  -----------
  Kill builds when we get EOF on the log FD

This closes a long-time bug that allowed builds to hang Nix
indefinitely (regardless of timeouts) simply by doing

  exec > /dev/null 2>&1; while true; do true; done

Now, on EOF, we just send SIGKILL to the child to make sure it's
really gone.


Compare: https://github.com/NixOS/nix/compare/c0d55f918379...21948deed99a
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to