| 422 | } |
| 423 | |
| 424 | static void ws_env_restore(const char *name, char *saved) { |
| 425 | if (saved) { |
| 426 | (void)cbm_setenv(name, saved, 1); |
| 427 | free(saved); |
| 428 | } else { |
| 429 | (void)cbm_unsetenv(name); |
| 430 | } |
| 431 | } |
| 432 | |
| 433 | /* The policy compares the home directory against canonical paths, so the |
| 434 | * helper must hand out the canonical form. A plain temp directory already |
no test coverage detected