guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

241/376: Tweak


From: Ludovic Courtès
Subject: 241/376: Tweak
Date: Wed, 28 Jan 2015 22:05:20 +0000

civodul pushed a commit to tag 1.8
in repository guix.

commit 58d8a213b08aca7774b246749976c9b1049d0647
Author: Eelco Dolstra <address@hidden>
Date:   Sat Oct 4 11:27:23 2014 +0200

    Tweak
---
 src/libexpr/primops.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 461a547..072866a 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -819,7 +819,7 @@ static void prim_readDir(EvalState & state, const Pos & 
pos, Value * * args, Val
         Value * ent_val = state.allocAttr(v, state.symbols.create(ent.name));
         if (ent.type == DT_UNKNOWN)
             ent.type = getFileType(path);
-        mkString(*ent_val,
+        mkStringNoCopy(*ent_val,
             ent.type == DT_REG ? "regular" :
             ent.type == DT_DIR ? "directory" :
             ent.type == DT_LNK ? "symlink" :



reply via email to

[Prev in Thread] Current Thread [Next in Thread]