Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 4481:b30b0a02ada0 | 4482:59ff9d0b7b85 |
|---|---|
| 9 | 9 |
| 10 - Use gaim_home_dir instead of g_get_home_dir or g_getenv("HOME") | 10 - Use gaim_home_dir instead of g_get_home_dir or g_getenv("HOME") |
| 11 | 11 |
| 12 - Make sure when including win32dep.h that it is the last header to | 12 - Make sure when including win32dep.h that it is the last header to |
| 13 be included. | 13 be included. |
| 14 | |
| 15 - Open binary files when reading or writing with 'b' mode. | |
| 16 | |
| 17 e.g: fopen("somefile", "wb"); | |
| 18 | |
| 19 Not doing so will open files in windows using defaut translation mode. | |
| 20 i.e. newline -> <CR><LF> | |
| 14 | 21 |
| 15 Paths | 22 Paths |
| 16 ----- | 23 ----- |
| 17 | 24 |
| 18 - DATADIR, LOCALEDIR & LIBDIR are defined in wingaim as functions. | 25 - DATADIR, LOCALEDIR & LIBDIR are defined in wingaim as functions. |
