diff options
Diffstat (limited to 'guts/chdir.c')
-rw-r--r-- | guts/chdir.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/guts/chdir.c b/guts/chdir.c new file mode 100644 index 0000000..b910060 --- /dev/null +++ b/guts/chdir.c @@ -0,0 +1,15 @@ +/* + * static int + * wrap_chdir(const char *path) { + * int rc = -1; + */ + pseudo_debug(3, "chdir: %s\n", path ? path : "<nil>"); + rc = real_chdir(path); + + if (rc != -1) { + pseudo_client_op(OP_CHDIR, 0, -1, -1, path, 0); + } + +/* return rc; + * } + */ |