projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fix for the rewritten spawn_filter function.
[cumulus.git]
/
store.cc
diff --git
a/store.cc
b/store.cc
index
caec347
..
a156a57
100644
(file)
--- a/
store.cc
+++ b/
store.cc
@@
-98,10
+98,10
@@
int spawn_filter(int fd_out, const char *program, pid_t *filter_pid)
/* Create a child process which can exec() the filter program. */
pid = fork();
/* Create a child process which can exec() the filter program. */
pid = fork();
- if (
filter_
pid < 0)
+ if (pid < 0)
throw IOException("Unable to fork filter process");
throw IOException("Unable to fork filter process");
- if (
filter_
pid > 0) {
+ if (pid > 0) {
/* Parent process */
close(fds[0]);
cloexec(fds[1]);
/* Parent process */
close(fds[0]);
cloexec(fds[1]);