[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
61/64: Remove tab
From: |
Ludovic Courtès |
Subject: |
61/64: Remove tab |
Date: |
Mon, 05 Jan 2015 16:39:13 +0000 |
civodul pushed a commit to branch nix
in repository guix.
commit 690adeb03de039551c4d8b5b4e7dda21c9c8f9b9
Author: Eelco Dolstra <address@hidden>
Date: Thu May 15 11:19:16 2014 +0200
Remove tab
---
src/libstore/optimise-store.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc
index 3615bc3..39b9e58 100644
--- a/src/libstore/optimise-store.cc
+++ b/src/libstore/optimise-store.cc
@@ -89,7 +89,7 @@ Strings LocalStore::readDirectoryIgnoringInodes(const Path &
path, const InodeHa
void LocalStore::optimisePath_(OptimiseStats & stats, const Path & path,
InodeHash & inodeHash)
{
checkInterrupt();
-
+
struct stat st;
if (lstat(path.c_str(), &st))
throw SysError(format("getting attributes of path `%1%'") % path);
@@ -145,7 +145,7 @@ void LocalStore::optimisePath_(OptimiseStats & stats, const
Path & path, InodeHa
if (link(path.c_str(), linkPath.c_str()) == 0) {
inodeHash.insert(st.st_ino);
return;
- }
+ }
if (errno != EEXIST)
throw SysError(format("cannot link `%1%' to `%2%'") % linkPath %
path);
/* Fall through if another process created ‘linkPath’ before
- 47/64: Fix Debian tests, (continued)
- 47/64: Fix Debian tests, Ludovic Courtès, 2015/01/05
- 60/64: Merge branch 'master' of github.com:wmertens/nix, Ludovic Courtès, 2015/01/05
- 58/64: Use the inodes given by readdir directly, Ludovic Courtès, 2015/01/05
- 57/64: Remove redundant code, Ludovic Courtès, 2015/01/05
- 55/64: Prepare nix-mode to be uploaded to marmalade, Ludovic Courtès, 2015/01/05
- 56/64: Preload linked hashes to speed up lookups, Ludovic Courtès, 2015/01/05
- 63/64: lvlInfo -> lvlTalkative, Ludovic Courtès, 2015/01/05
- 42/64: When running as root, use build users by default, Ludovic Courtès, 2015/01/05
- 59/64: Shortcut store files before lstat, Ludovic Courtès, 2015/01/05
- 64/64: Merge commit '8d5f472f2c49c79a0d3ae2e506f4d4d76224b328' into nix, Ludovic Courtès, 2015/01/05
- 61/64: Remove tab,
Ludovic Courtès <=
- 62/64: nix-store --optimise: Remove bogus statistics, Ludovic Courtès, 2015/01/05