Format int to string for logging (poll thread only, one use per call). */
| 799 | |
| 800 | /* Format int to string for logging (poll thread only, one use per call). */ |
| 801 | static const char *itoa_buf(int v) { |
| 802 | static CBM_TLS char buf[CBM_SZ_32]; |
| 803 | snprintf(buf, sizeof(buf), "%d", v); |
| 804 | return buf; |
| 805 | } |
| 806 | |
| 807 | static bool watcher_unlink_cached_file(const char *project_name, const char *path, |
| 808 | const char *artifact) { |