Format int to string for logging (poll thread only, one use per call). */
| 1020 | |
| 1021 | /* Format int to string for logging (poll thread only, one use per call). */ |
| 1022 | static const char *itoa_buf(int v) { |
| 1023 | static CBM_TLS char buf[CBM_SZ_32]; |
| 1024 | snprintf(buf, sizeof(buf), "%d", v); |
| 1025 | return buf; |
| 1026 | } |
| 1027 | |
| 1028 | static bool watcher_unlink_cached_file(const char *project_name, const char *path, |
| 1029 | const char *artifact) { |