Fixed bug #74090 stream_get_contents maxlength>-1 returns empty string

This commit is contained in:
Anatol Belski 2017-02-15 11:22:47 +01:00
parent 3917350531
commit 89a5bd6750
3 changed files with 27 additions and 1 deletions

View file

@ -53,6 +53,10 @@
# undef EWOULDBLOCK
# endif
# define EWOULDBLOCK WSAEWOULDBLOCK
# ifdef EMSGSIZE
# undef EMSGSIZE
# endif
# define EMSGSIZE WSAEMSGSIZE
#endif
/* This functions transforms the first char to 'w' if it's not 'r', 'a' or 'w'