# HG changeset patch # User Daniel Atallah # Date 1105501289 0 # Node ID 4f67724c207cf3a1cb0818f452978bd26c72dd8c # Parent 91f17026b693ace593181646093194756011e5e6 [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 diff -r 91f17026b693 -r 4f67724c207c src/util.c --- 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",