From 8d174e9ec416b7b5607a55ebadae5b3c2910b267 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 10 Dec 2008 03:01:58 +0000 Subject: [PATCH] fixed a wrong mode to ase_fopen in lib/awk/std.c --- ase/lib/awk/std.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ase/lib/awk/std.c b/ase/lib/awk/std.c index 4a635c2d..ed913868 100644 --- a/ase/lib/awk/std.c +++ b/ase/lib/awk/std.c @@ -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; }