aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--libsylph/utils.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 812e17a7..34e59de3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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");
}