fixed a wrong mode to ase_fopen in lib/awk/std.c
This commit is contained in:
parent
8dd3401465
commit
8d174e9ec4
@ -170,7 +170,7 @@ static ase_ssize_t sf_out (int cmd, void* arg, ase_char_t* data, ase_size_t size
|
||||
}
|
||||
else
|
||||
{
|
||||
sf->out.handle = ase_fopen (sf->out.file, ASE_T("r"));
|
||||
sf->out.handle = ase_fopen (sf->out.file, ASE_T("w"));
|
||||
if (sf->out.handle == ASE_NULL) return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user