[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/376: Fix bogus warnings about dumping large paths
From: |
Ludovic Courtès |
Subject: |
25/376: Fix bogus warnings about dumping large paths |
Date: |
Wed, 28 Jan 2015 22:03:48 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit 48495f67ed893c4ee056099ae0ca5a2afacde93c
Author: Eelco Dolstra <address@hidden>
Date: Thu Jun 12 13:15:35 2014 +0200
Fix bogus warnings about dumping large paths
Also, yay for C++11 non-static initialisers.
---
src/libutil/serialise.hh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libutil/serialise.hh b/src/libutil/serialise.hh
index 3d296cf..1b3fb74 100644
--- a/src/libutil/serialise.hh
+++ b/src/libutil/serialise.hh
@@ -72,8 +72,8 @@ struct BufferedSource : Source
struct FdSink : BufferedSink
{
int fd;
- bool warn;
- size_t written;
+ bool warn = false;
+ size_t written = 0;
FdSink() : fd(-1) { }
FdSink(int fd) : fd(fd) { }
- 28/376: Only add the importNative primop if the allow-arbitrary-code-during-evaluation option is true (default false), (continued)
- 28/376: Only add the importNative primop if the allow-arbitrary-code-during-evaluation option is true (default false), Ludovic Courtès, 2015/01/28
- 26/376: Don't use member initialisers, Ludovic Courtès, 2015/01/28
- 27/376: Add importNative primop, Ludovic Courtès, 2015/01/28
- 29/376: Merge branch 'shlevy-import-native', Ludovic Courtès, 2015/01/28
- 20/376: == operator: Ignore string context, Ludovic Courtès, 2015/01/28
- 30/376: allow-arbitrary-code-during-evaluation -> allow-unsafe-native-code-during-evaluation, Ludovic Courtès, 2015/01/28
- 32/376: Style fix, Ludovic Courtès, 2015/01/28
- 24/376: Drop ImportError and FindError, Ludovic Courtès, 2015/01/28
- 31/376: Add `--json` argument to `nix-instantiate`, Ludovic Courtès, 2015/01/28
- 33/376: Manual: html -> xhtml, Ludovic Courtès, 2015/01/28
- 25/376: Fix bogus warnings about dumping large paths,
Ludovic Courtès <=
- 36/376: Fix compilation error on some versions of GCC, Ludovic Courtès, 2015/01/28
- 37/376: Add a test for the SSH substituter, Ludovic Courtès, 2015/01/28
- 38/376: Fix security hole in ‘nix-store --serve’, Ludovic Courtès, 2015/01/28
- 35/376: Don't build on Ubuntu 10.10, Ludovic Courtès, 2015/01/28
- 34/376: Add builtin function ‘fromJSON’, Ludovic Courtès, 2015/01/28
- 41/376: nix-copy-closure: Restore compression and the progress viewer, Ludovic Courtès, 2015/01/28
- 40/376: Remove maybeVfork, Ludovic Courtès, 2015/01/28
- 39/376: nix-copy-closure: Fix race condition, Ludovic Courtès, 2015/01/28
- 23/376: findFile: Realise the context of the path attributes, Ludovic Courtès, 2015/01/28
- 44/376: nix-copy-closure: Fix --dry-run, Ludovic Courtès, 2015/01/28