* normaliseFState() now locks all output paths prior to building, thus

ensuring that simultaneous invocations of Nix don't clobber
  each other's  builds.

* Fixed a bug in `make install'.
This commit is contained in:
Eelco Dolstra 2003-08-01 14:11:19 +00:00
parent 9df93f30bd
commit 545145cd58
5 changed files with 151 additions and 30 deletions

18
src/pathlocks.hh Normal file
View file

@ -0,0 +1,18 @@
#ifndef __PATHLOCKS_H
#define __PATHLOCKS_H
#include "util.hh"
class PathLocks
{
private:
list<int> fds;
public:
PathLocks(const Strings & _paths);
~PathLocks();
};
#endif /* !__PATHLOCKS_H */