mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.4 into 10.5
This commit is contained in:
@@ -383,7 +383,7 @@ static int run_command(char* cmd,
|
||||
if (opt_verbose >= 4)
|
||||
puts(cmd);
|
||||
|
||||
if (!(res_file= popen(cmd, "r")))
|
||||
if (!(res_file= my_popen(cmd, IF_WIN("rt","r"))))
|
||||
die("popen(\"%s\", \"r\") failed", cmd);
|
||||
|
||||
while (fgets(buf, sizeof(buf), res_file))
|
||||
@@ -401,7 +401,7 @@ static int run_command(char* cmd,
|
||||
}
|
||||
}
|
||||
|
||||
error= pclose(res_file);
|
||||
error= my_pclose(res_file);
|
||||
return WEXITSTATUS(error);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user