changeset 10506:4f67724c207c

[gaim-migrate @ 11800] This makes prevents CR being added to the files and messing up the st.st_size comparison to the bytes written committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 12 Jan 2005 03:41:29 +0000
parents 91f17026b693
children 05081f488da1
files src/util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/util.c	Tue Jan 11 21:51:26 2005 +0000
+++ b/src/util.c	Wed Jan 12 03:41:29 2005 +0000
@@ -1985,7 +1985,7 @@
 	}
 
 	/* Open file */
-	file = fopen(filename_temp, "w");
+	file = fopen(filename_temp, "wb");
 	if (file == NULL)
 	{
 		gaim_debug_error("util", "Error opening file %s for writing: %s\n",