fixed a wrong mode to ase_fopen in lib/awk/std.c

This commit is contained in:
hyung-hwan 2008-12-10 03:01:58 +00:00
parent 8dd3401465
commit 8d174e9ec4

View File

@ -170,7 +170,7 @@ static ase_ssize_t sf_out (int cmd, void* arg, ase_char_t* data, ase_size_t size
} }
else 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; if (sf->out.handle == ASE_NULL) return -1;
} }