aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources
diff options
context:
space:
mode:
Diffstat (limited to 'backendC/CleanCompilerSources')
-rw-r--r--backendC/CleanCompilerSources/cocl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/backendC/CleanCompilerSources/cocl.c b/backendC/CleanCompilerSources/cocl.c
index f881fbc..206a605 100644
--- a/backendC/CleanCompilerSources/cocl.c
+++ b/backendC/CleanCompilerSources/cocl.c
@@ -237,13 +237,13 @@ Bool CallCompiler (int argc, char **argv)
} else if (strcmp (argv_i, "-RAE") == 0){
if (++i < argc){
#ifdef _SUN_
- std_error_file_p = fopen (argv[i],"aw");
+ std_error_file_p = fopen (argv[i],"a");
if (std_error_file_p!=NULL)
StdErrorReopened = True;
else
std_error_file_p = stderr;
#else
- freopen (argv[i],"aw",StdError);
+ freopen (argv[i],"a",StdError);
# ifdef CLEAN2
StdErrorReopened = True;
# endif
@@ -273,13 +273,13 @@ Bool CallCompiler (int argc, char **argv)
} else if (strcmp (argv_i, "-RAO") == 0){
if (++i < argc){
#ifdef _SUN_
- std_out_file_p = fopen (argv[i],"aw");
+ std_out_file_p = fopen (argv[i],"a");
if (std_out_file_p!=NULL)
StdOutReopened = True;
else
std_out_file_p = stdout;
#else
- freopen (argv[i],"aw",StdOut);
+ freopen (argv[i],"a",StdOut);
# ifdef CLEAN2
StdOutReopened = True;
# endif