Home
last modified time | relevance | path

Searched refs:current_wd (Results 1 – 4 of 4) sorted by relevance

/external/mksh/src/
Dmisc.c1632 afree(current_wd, APERM); in set_current_wd()
1633 strdupx(current_wd, nwd, APERM); in set_current_wd()
1699 if (!current_wd[0]) { in c_cd()
1709 if ((cp = strstr(current_wd, wp[0])) == NULL) { in c_cd()
1719 ilen = cp - current_wd; in c_cd()
1722 elen = strlen(current_wd + ilen + olen) + 1; in c_cd()
1724 memcpy(dir, current_wd, ilen); in c_cd()
1726 memcpy(dir + ilen + nlen, current_wd + ilen + olen, elen); in c_cd()
1742 cdnode = make_path(current_wd, dir, &cdpath, &xs, &phys_path); in c_cd()
1774 if (current_wd[0]) in c_cd()
[all …]
Dmain.c321 if (current_wd[0]) in main()
322 simplify_path(current_wd); in main()
324 if (current_wd[0] || *cp) in main()
326 setstr(vp, current_wd, KSH_RETURN_ERROR); in main()
561 if (!current_wd[0] && Flag(FTALKING)) in main()
Dfuncs.c244 p = current_wd[0] ? (physical ? allocd = do_realpath(current_wd) : in c_pwd()
245 current_wd) : NULL; in c_pwd()
Dsh.h850 EXTERN char *current_wd; variable