aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-28 19:41:53 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-28 19:41:53 +0000
commitc7152c8f97d01dda4eeb70869a0d28cc9a04df1f (patch)
tree12110b7b9390b2cefdb282a693832e71e010549e /src/libstore/local-store.hh
parent3a2bbe7f8ad7ec8b2896ff5e666b8f5525691c6f (diff)
* Don't use the non-standard __gnu_cxx::stdio_filebuf class.
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index 1cacfee33..a422af398 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -3,8 +3,6 @@
#include <string>
-#include <ext/stdio_filebuf.h>
-
#include "store-api.hh"
#include "util.hh"
@@ -36,15 +34,10 @@ struct OptimiseStats
};
-typedef __gnu_cxx::stdio_filebuf<char> stdio_filebuf;
-
-
struct RunningSubstituter
{
Pid pid;
- boost::shared_ptr<stdio_filebuf> toBuf, fromBuf;
- boost::shared_ptr<std::ostream> to;
- boost::shared_ptr<std::istream> from;
+ AutoCloseFD to, from;
};