changeset 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 b30b0a02ada0
children 109948475ecc
files PROGRAMMING_NOTES
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
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
 -----