Searched refs:current_wd (Results 1 – 4 of 4) sorted by relevance
/external/mksh/src/ |
D | misc.c | 2097 afree(current_wd, APERM); in set_current_wd() 2098 strdupx(current_wd, nwd, APERM); in set_current_wd() 2164 if (!current_wd[0]) { in c_cd() 2174 if ((cp = strstr(current_wd, wp[0])) == NULL) { in c_cd() 2184 ilen = cp - current_wd; in c_cd() 2187 elen = strlen(current_wd + ilen + olen) + 1; in c_cd() 2189 memcpy(dir, current_wd, ilen); in c_cd() 2191 memcpy(dir + ilen + nlen, current_wd + ilen + olen, elen); in c_cd() 2219 cdnode = make_path(current_wd, dir, &cdpath, &xs, &phys_path); in c_cd() 2251 if (current_wd[0]) in c_cd() [all …]
|
D | main.c | 421 if (current_wd[0]) in main_init() 422 simplify_path(current_wd); in main_init() 424 if (current_wd[0] || *cp) in main_init() 426 setstr(vp, current_wd, KSH_RETURN_ERROR); in main_init() 654 if (!current_wd[0] && Flag(FTALKING)) in main_init()
|
D | funcs.c | 270 p = current_wd[0] ? (physical ? allocd = do_realpath(current_wd) : in c_pwd() 271 current_wd) : NULL; in c_pwd()
|
D | sh.h | 1591 EXTERN char *current_wd; variable
|