projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-do cumulus side of upload script interface.
[cumulus.git]
/
store.cc
diff --git
a/store.cc
b/store.cc
index
9e7fc99
..
bfeb18a
100644
(file)
--- a/
store.cc
+++ b/
store.cc
@@
-43,6
+43,7
@@
#include "store.h"
#include "ref.h"
#include "store.h"
#include "ref.h"
+#include "util.h"
using std::max;
using std::list;
using std::max;
using std::list;
@@
-55,16
+56,6
@@
using std::string;
const char *filter_program = "bzip2 -c";
const char *filter_extension = ".bz2";
const char *filter_program = "bzip2 -c";
const char *filter_extension = ".bz2";
-static void cloexec(int fd)
-{
- long flags = fcntl(fd, F_GETFD);
-
- if (flags < 0)
- return;
-
- fcntl(fd, F_SETFD, flags | FD_CLOEXEC);
-}
-
Tarfile::Tarfile(RemoteFile *file, const string &segment)
: size(0),
segment_name(segment)
Tarfile::Tarfile(RemoteFile *file, const string &segment)
: size(0),
segment_name(segment)