mirror of
https://github.com/curl/curl.git
synced 2026-04-14 13:01:42 +08:00
And use it from src and tests. Syncing this functionality between platforms and build targets. Also: Stop redefining `O_BINARY` in src, and use a local macro with the same effect. `O_BINARY` is used in `CURL_SET_BINMODE()` to decide if this functionality is supported, and redefining it makes this check pass always in unity builds. The check is required for Apple OS, because it offers a `setmode()` function, successfully detected by both CMake and autotools, but that function has a different functionality and signature than that expected by `CURL_SET_BINMODE()`. Also: - drop MetaWare High C (MS-DOS) support for set binmode. - tests/libtest/Makefile.inc: dedupe comments. - lib/curl_setup_once.h: tidy up feature guards for `io.h`, `fcntl.h`. Ref: #15652 Closes #15787 |
||
|---|---|---|
| .. | ||
| .checksrc | ||
| .gitignore | ||
| base64.pl | ||
| CMakeLists.txt | ||
| disabled.c | ||
| getpart.c | ||
| getpart.h | ||
| Makefile.am | ||
| Makefile.inc | ||
| mqttd.c | ||
| resolve.c | ||
| rtspd.c | ||
| server_setup.h | ||
| server_sockaddr.h | ||
| sockfilt.c | ||
| socksd.c | ||
| sws.c | ||
| testpart.c | ||
| tftp.h | ||
| tftpd.c | ||
| util.c | ||
| util.h | ||