diff options
| author | Pav Lucistnik <pav@FreeBSD.org> | 2010-12-27 20:55:08 +0000 |
|---|---|---|
| committer | Pav Lucistnik <pav@FreeBSD.org> | 2010-12-27 20:55:08 +0000 |
| commit | 60dfc9c453e121e71a94373e5329544d788422b5 (patch) | |
| tree | 20ed6c2badec1b87478f0766efeb8344a7624bee /databases/hypertable/files/patch-src_cc_Hypertable_Lib_HqlInterpreter.cc | |
| parent | - Update to 1.45 (diff) | |
- Fix build with new boost
Submitted by: Alexander Churanov <alexanderchuranov@gmail.com>
Diffstat (limited to 'databases/hypertable/files/patch-src_cc_Hypertable_Lib_HqlInterpreter.cc')
| -rw-r--r-- | databases/hypertable/files/patch-src_cc_Hypertable_Lib_HqlInterpreter.cc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/databases/hypertable/files/patch-src_cc_Hypertable_Lib_HqlInterpreter.cc b/databases/hypertable/files/patch-src_cc_Hypertable_Lib_HqlInterpreter.cc new file mode 100644 index 000000000000..bfa5f41ffb09 --- /dev/null +++ b/databases/hypertable/files/patch-src_cc_Hypertable_Lib_HqlInterpreter.cc @@ -0,0 +1,29 @@ +--- src/cc/Hypertable/Lib/HqlInterpreter.cc.orig 2010-12-13 17:56:18.000000000 +0300 ++++ src/cc/Hypertable/Lib/HqlInterpreter.cc 2010-12-13 17:55:27.000000000 +0300 +@@ -272,7 +272,7 @@ + } + else { + out_fd = dup(fileno(outf)); +- fout.push(boost::iostreams::file_descriptor_sink(out_fd)); ++ fout.push(boost::iostreams::file_descriptor_sink(out_fd, boost::iostreams::never_close_handle)); + } + + HT_ON_SCOPE_EXIT(&close_file, out_fd); +@@ -397,7 +397,7 @@ + } + else { + out_fd = dup(fileno(outf)); +- fout.push(boost::iostreams::file_descriptor_sink(out_fd)); ++ fout.push(boost::iostreams::file_descriptor_sink(out_fd, boost::iostreams::never_close_handle)); + } + + HT_ON_SCOPE_EXIT(&close_file, out_fd); +@@ -488,7 +488,7 @@ + else { + if (outf) { + out_fd = dup(fileno(outf)); +- fout.push(boost::iostreams::file_descriptor_sink(out_fd)); ++ fout.push(boost::iostreams::file_descriptor_sink(out_fd, boost::iostreams::never_close_handle)); + } + else + fout.push(boost::iostreams::null_sink()); |
