mirror of
https://github.com/curl/curl.git
synced 2026-08-20 04:04:22 +03:00
Before this patch the signal handler called `logmsg()` which in turn
called `printf()` variants (internal implementations), and `FILE *`
functions, `localtime()`. Some of these called `malloc`/`free`, which
isn't supported in s signal handler. Replace them with `write` calls,
losing some logging functionality.
Also:
- De-dupe and move `STD*_FILENO` macros to `lib/curl_setup.h`. Revert
the `src` definition to point to `stderr`, instead of `tool_stderr`.
Follow-up to
|
||
|---|---|---|
| .. | ||
| .checksrc | ||
| .gitignore | ||
| CMakeLists.txt | ||
| disabled.c | ||
| first.c | ||
| first.h | ||
| getpart.c | ||
| getpart.h | ||
| Makefile.am | ||
| Makefile.inc | ||
| mk-bundle.pl | ||
| mqttd.c | ||
| resolve.c | ||
| rtspd.c | ||
| server_setup.h | ||
| server_sockaddr.h | ||
| sockfilt.c | ||
| socksd.c | ||
| sws.c | ||
| tftp.h | ||
| tftpd.c | ||
| util.c | ||
| util.h | ||