| 92 | } |
| 93 | |
| 94 | void |
| 95 | DefaultOutputMgr::init() |
| 96 | { |
| 97 | int max_files = CGOptions::max_split_files(); |
| 98 | |
| 99 | if (max_files == 0) |
| 100 | return; |
| 101 | |
| 102 | for (int i = 0; i < max_files; ++i) { |
| 103 | ofstream *out = open_one_output_file(i); |
| 104 | outs.push_back(out); |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | bool |
| 109 | DefaultOutputMgr::create_output_dir(std::string dir) |