mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
* 64-bit compatibility fixes (for problems revealed by building on an Athlon
64 running 64-bit SUSE). A patched ATerm library is required to run Nix succesfully.
This commit is contained in:
parent
e3c07782d1
commit
9d72bf8835
10 changed files with 21 additions and 20 deletions
|
@ -212,7 +212,7 @@ static void readTempRoots(PathSet & tempRoots, FDs & fds)
|
|||
string contents = readFile(*fd);
|
||||
|
||||
/* Extract the roots. */
|
||||
unsigned int pos = 0, end;
|
||||
string::size_type pos = 0, end;
|
||||
|
||||
while ((end = contents.find((char) 0, pos)) != string::npos) {
|
||||
Path root(contents, pos, end - pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue