| 510 | } |
| 511 | |
| 512 | static bool ws_join(char *out, size_t out_sz, const char *a, const char *b) { |
| 513 | int n = snprintf(out, out_sz, "%s/%s", a, b); |
| 514 | return n > 0 && (size_t)n < out_sz; |
| 515 | } |
| 516 | |
| 517 | /* Create <parent>/<name> and return it in canonical form. */ |
| 518 | static bool ws_mkdir_canonical(const char *parent, const char *name, char *out, size_t out_sz) { |
no outgoing calls
no test coverage detected