aboutsummaryrefslogtreecommitdiffstats
path: root/guts/chdir.c
blob: b910060d553afcbb5fbad505971e5f7e03e5fe09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
 * }
 */