| 475 | } |
| 476 | |
| 477 | static sh_mark_t sh_mark(const sh_t *s) { |
| 478 | return (sh_mark_t){s->nundo, s->cwd, s->ndirs}; |
| 479 | } |
| 480 | |
| 481 | static bool sh_cwd_same(sh_cwd_t a, sh_cwd_t b) { |
| 482 | return a.mode == b.mode && (a.mode != SH_AT || strcmp(a.dir, b.dir) == 0); |
no outgoing calls
no test coverage detected