aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-06-14 03:04:00 -0700
committerChris Robinson <[email protected]>2011-06-14 03:04:00 -0700
commitc93d7a1721dc8233d0a256c022ab55223c582062 (patch)
tree80e30ecfdccab0060f7b700c4a31feb0cd75d2a0
parent9c7dad1bdf431090f76a3f164e9b9eebc5aa8e5b (diff)
Open the logfile in append/text mode
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 77f60eac..cd81d855 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -482,7 +482,7 @@ static void alc_init(void)
str = getenv("ALSOFT_LOGFILE");
if(str && str[0])
{
- LogFile = fopen(str, "w");
+ LogFile = fopen(str, "wat");
if(!LogFile)
fprintf(stderr, "AL lib: Failed to open log file '%s'\n", str);
}