The cwd as a value: the anchored directory, or NULL. */
| 610 | |
| 611 | /* The cwd as a value: the anchored directory, or NULL. */ |
| 612 | static const char *sh_cwd_value(sh_t *s) { |
| 613 | return s->cwd.mode == SH_AT ? sh_anchor(s->a, s->cwd.dir) : NULL; |
| 614 | } |
| 615 | |
| 616 | /* A variable's value; *found: it is set (or a special that exists). */ |
| 617 | static const sh_val_t *sh_lookup(sh_t *s, const char *name, bool *found) { |
no test coverage detected