[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" :
- 233/376: Support control characters in JSON output, (continued)
- 233/376: Support control characters in JSON output, Ludovic Courtès, 2015/01/28
- 235/376: createDirs(): Handle ‘path’ being a symlink, Ludovic Courtès, 2015/01/28
- 238/376: Add test for readDir primop, Ludovic Courtès, 2015/01/28
- 240/376: Remove some duplicate code, Ludovic Courtès, 2015/01/28
- 239/376: Add readDir primop, Ludovic Courtès, 2015/01/28
- 224/376: add manpage for nix-generate-patches, Ludovic Courtès, 2015/01/28
- 246/376: Typo, Ludovic Courtès, 2015/01/28
- 245/376: Get rid of some unnecessary ExprConcatStrings nodes in dynamic attrs, Ludovic Courtès, 2015/01/28
- 243/376: Add primop ‘catAttrs’, Ludovic Courtès, 2015/01/28
- 249/376: nix-copy-closure: Use strict, Ludovic Courtès, 2015/01/28
- 241/376: Tweak,
Ludovic Courtès <=
- 304/376: Combine introduction / quick start parts, Ludovic Courtès, 2015/01/28
- 250/376: Remove unused @sshOpts flag, Ludovic Courtès, 2015/01/28
- 305/376: Update quick start section, Ludovic Courtès, 2015/01/28
- 306/376: Update installation section, Ludovic Courtès, 2015/01/28
- 308/376: Build derivations in a more predictable order, Ludovic Courtès, 2015/01/28
- 307/376: Don't create unnecessary substitution goals for derivations, Ludovic Courtès, 2015/01/28
- 309/376: More build-cache-failures -> build-cache-failure, Ludovic Courtès, 2015/01/28
- 310/376: forceString(): Accept pos argument, Ludovic Courtès, 2015/01/28
- 311/376: Add a primop for regular expression pattern matching, Ludovic Courtès, 2015/01/28
- 312/376: Rely on XML catalogs to find the DocBook schemas and stylesheets, Ludovic Courtès, 2015/01/28