From 77d272623fb4fd57cf27d4b92a7dc1713a2d4098 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 22 Mar 2009 17:36:43 +0000 Subject: * NAR archives: handle files larger than 2^32 bytes. Previously it would just silently store only (fileSize % 2^32) bytes. * Use posix_fallocate if available when unpacking archives. * Provide a better error message when trying to unpack something that isn't a NAR archive. --- src/libutil/serialise.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libutil/serialise.hh') diff --git a/src/libutil/serialise.hh b/src/libutil/serialise.hh index 6a74c4cf6ea1..0e797d63bca9 100644 --- a/src/libutil/serialise.hh +++ b/src/libutil/serialise.hh @@ -106,6 +106,9 @@ string readString(Source & source); StringSet readStringSet(Source & source); +MakeError(SerialisationError, Error) + + } -- cgit 1.4.1