Refactoring: Move all fork handling into a higher-order function
C++11 lambdas ftw.
Showing
- src/download-via-ssh/download-via-ssh.cc 8 additions, 24 deletionssrc/download-via-ssh/download-via-ssh.cc
- src/libstore/build.cc 23 additions, 50 deletionssrc/libstore/build.cc
- src/libstore/local-store.cc 10 additions, 25 deletionssrc/libstore/local-store.cc
- src/libutil/util.cc 53 additions, 54 deletionssrc/libutil/util.cc
- src/libutil/util.hh 7 additions, 0 deletionssrc/libutil/util.hh
- src/nix-daemon/nix-daemon.cc 19 additions, 32 deletionssrc/nix-daemon/nix-daemon.cc
- src/nix-store/nix-store.cc 8 additions, 21 deletionssrc/nix-store/nix-store.cc
Loading
Please register or sign in to comment