mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
e8423f9ce1
- Change fopen calls to use FOPEN_READTEXT instead of "r" or "rt" - Change fopen calls to use FOPEN_WRITETEXT instead of "w" or "wt" This change is to explicitly specify when we need to read/write text. Unfortunately 't' is not part of POSIX fopen so we can't specify it directly. Instead we now have FOPEN_READTEXT, FOPEN_WRITETEXT. Prior to this change we had an issue on Windows if an application that uses libcurl overrides the default file mode to binary. The default file mode in Windows is normally text mode (translation mode) and that's what libcurl expects. Bug: https://github.com/bagder/curl/pull/258#issuecomment-107093055 Reported-by: Orgad Shaneh |
||
---|---|---|
.. | ||
axtls.c | ||
axtls.h | ||
cyassl.c | ||
cyassl.h | ||
darwinssl.c | ||
darwinssl.h | ||
gskit.c | ||
gskit.h | ||
gtls.c | ||
gtls.h | ||
nss.c | ||
nssg.h | ||
openssl.c | ||
openssl.h | ||
polarssl_threadlock.c | ||
polarssl_threadlock.h | ||
polarssl.c | ||
polarssl.h | ||
schannel.c | ||
schannel.h | ||
vtls.c | ||
vtls.h |