Home
last modified time | relevance | path

Searched refs:redir (Results 1 – 2 of 2) sorted by relevance

/toolchain/binutils/binutils-2.27/gas/testsuite/lib/
Dgas-defs.exp61 proc gas_host_run { cmd redir } { argument
62 verbose "Executing $cmd $redir"
64 if [regexp ">& */dev/null" $redir] then {
66 set command "$cmd $redir"
67 } elseif [regexp "> */dev/null" $redir] then {
71 } elseif [regexp ">&.*" $redir] then {
73 regsub ">&" $redir "" output_file
75 } elseif [regexp "2>.*" $redir] then {
77 set command "$cmd $redir"
79 } elseif [regexp ">.*" $redir] then {
[all …]
/toolchain/binutils/binutils-2.27/binutils/
Dresrc.c197 run_cmd (char *cmd, const char *redir) in run_cmd() argument
254 redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, 0666); in run_cmd()
256 fatal (_("can't open temporary file `%s': %s"), redir, in run_cmd()
262 fatal (_("can't redirect stdout: `%s': %s"), redir, strerror (errno)); in run_cmd()