mirror of
https://github.com/libssh2/libssh2.git
synced 2025-08-11 17:22:41 +03:00
libssh2_priv.h: fix checksrc warning [ci skip]
Regression from 9ef75298fa
This commit is contained in:
@@ -1212,9 +1212,9 @@ size_t plain_method(char *method, size_t method_len);
|
|||||||
#elif defined(__CYGWIN__)
|
#elif defined(__CYGWIN__)
|
||||||
/* Cygwin has specific behavior we need to address when WIN32 is not defined.
|
/* Cygwin has specific behavior we need to address when WIN32 is not defined.
|
||||||
https://cygwin.com/cygwin-ug-net/using-textbinary.html
|
https://cygwin.com/cygwin-ug-net/using-textbinary.html
|
||||||
For write we want our output to have line endings of LF and be compatible with
|
For write we want our output to have line endings of LF and be compatible
|
||||||
other Cygwin utilities. For read we want to handle input that may have line
|
with other Cygwin utilities. For read we want to handle input that may have
|
||||||
endings either CRLF or LF so 't' is appropriate.
|
line endings either CRLF or LF so 't' is appropriate.
|
||||||
*/
|
*/
|
||||||
#define FOPEN_READTEXT "rt"
|
#define FOPEN_READTEXT "rt"
|
||||||
#define FOPEN_WRITETEXT "w"
|
#define FOPEN_WRITETEXT "w"
|
||||||
|
Reference in New Issue
Block a user