diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | libsylph/utils.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2009-08-20 + + * libsylph/utils.c: set_log_file(): open log file as text mode. + 2009-08-13 * version 2.7.1 diff --git a/libsylph/utils.c b/libsylph/utils.c index d67ff14d..574f8427 100644 --- a/libsylph/utils.c +++ b/libsylph/utils.c @@ -4190,7 +4190,7 @@ static FILE *log_fp = NULL; void set_log_file(const gchar *filename) { if (log_fp) return; - log_fp = g_fopen(filename, "wb"); + log_fp = g_fopen(filename, "w"); if (!log_fp) FILE_OP_ERROR(filename, "fopen"); } |