diff options
Diffstat (limited to 'guts/fchdir.c')
-rw-r--r-- | guts/fchdir.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/guts/fchdir.c b/guts/fchdir.c new file mode 100644 index 0000000..5289f4c --- /dev/null +++ b/guts/fchdir.c @@ -0,0 +1,15 @@ +/* + * static int + * wrap_fchdir(int dirfd) { + * int rc = -1; + */ + + rc = real_fchdir(dirfd); + + if (rc != -1) { + pseudo_client_op(OP_CHDIR, 0, -1, dirfd, 0, 0); + } + +/* return rc; + * } + */ |