[gaim-migrate @ 11800]

Wed, 12 Jan 2005 03:41:29 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Wed, 12 Jan 2005 03:41:29 +0000
changeset 10506
53fd40650054
parent 10505
4c063ce8ed62
child 10507
57c7cdf1fb73

[gaim-migrate @ 11800]
This makes prevents CR being added to the files and messing up the st.st_size comparison to the bytes written

src/util.c file | annotate | diff | comparison | revisions
--- 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",

mercurial