Open the logfile in append/text mode

This commit is contained in:
Chris Robinson
2011-06-14 03:04:00 -07:00
parent 9c7dad1bdf
commit c93d7a1721
+1 -1
View File
@@ -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);
}