| 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); |
| 483 | } |
| 484 | |
| 485 | static void sh_rewind(sh_t *s, sh_mark_t m) { |
| 486 | while (s->nundo > m.undo) { |
no outgoing calls
no test coverage detected