diff options
Diffstat (limited to 'path.c')
-rw-r--r-- | path.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -198,6 +198,8 @@ set_current_wd(pathx) if (len > current_wd_size) current_wd = aresize(current_wd, current_wd_size = len, APERM); memcpy(current_wd, p, len); + if (writefd) + dprintf(writefd, "cwd%s\n", p); if (p != pathx && p != null) afree(p, ATEMP); } |