mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-05 21:32:55 +00:00
Correct parameter usage.
This commit is contained in:
parent
b701ce9721
commit
d35165bd8e
@ -446,7 +446,7 @@ std::string final_path_component(const std::string &path) {
|
||||
std::string system_get(const char *command) {
|
||||
struct pcloser {
|
||||
void operator()(FILE *file) {
|
||||
pclose(dir);
|
||||
pclose(file);
|
||||
}
|
||||
};
|
||||
std::unique_ptr<FILE, pcloser> pipe(popen(command, "r"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user