From 82e3d8fafe0ac08589349094e3ea11022d995959 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 6 Jul 2003 14:20:47 +0000 Subject: * Got Fix working again. --- src/values.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/values.cc') diff --git a/src/values.cc b/src/values.cc index fe65b977eaec..5db04036c4de 100644 --- a/src/values.cc +++ b/src/values.cc @@ -34,7 +34,7 @@ struct CopySource : RestoreSource }; -void copyFile(string src, string dst) +void copyPath(string src, string dst) { /* Unfortunately C++ doesn't support coprocedures, so we have no nice way to chain CopySink and CopySource together. Instead we @@ -99,7 +99,7 @@ void addToStore(string srcPath, string & dstPath, Hash & hash) string baseName = baseNameOf(srcPath); dstPath = nixStore + "/" + (string) hash + "-" + baseName; - copyFile(srcPath, dstPath); + copyPath(srcPath, dstPath); setDB(nixDB, dbRefs, hash, dstPath); } -- cgit 1.4.1