From c93d7a1721dc8233d0a256c022ab55223c582062 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 14 Jun 2011 03:04:00 -0700 Subject: Open the logfile in append/text mode --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc') 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); } -- cgit v1.2.3