diff PROGRAMMING_NOTES @ 4482:59ff9d0b7b85

[gaim-migrate @ 4757] fopen note committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Thu, 30 Jan 2003 22:43:41 +0000
parents e074172f4a41
children 10b5ac17fdd6
line wrap: on
line diff
--- a/PROGRAMMING_NOTES	Thu Jan 30 21:25:24 2003 +0000
+++ b/PROGRAMMING_NOTES	Thu Jan 30 22:43:41 2003 +0000
@@ -12,6 +12,13 @@
 - Make sure when including win32dep.h that it is the last header to
   be included.
 
+- Open binary files when reading or writing with 'b' mode.
+
+  e.g: fopen("somefile", "wb");
+
+  Not doing so will open files in windows using defaut translation mode. 
+  i.e. newline -> <CR><LF>
+
 Paths
 -----