3610: /* Remove trailing ' ' and '.' of pathname */
3611: utf8len = strlen((B*)utf8nm);
3612: while (utf8nm[utf8len - 1] == ' ' ||
4231: curdir = &fs->ff_c.fs_uxinfo.uxi_curdir;
4232: len = strlen((B*)curdir->cd_inode->ino_path);
4233:
4300: inode = NULL;
4301: err = fatSearchDIR_nm(fs, &dir, cpath, strlen((B*)cpath), AC_RDONLY, NULL);
4302: if (err >= E_OK || err == EX_NOENT) {
4303: err = fatGetINODE(fs, &dir, dtp, path, strlen((B*)path), &inode);
4304: }
4859: if (ino <= CLSTART) { /* Special for root "." and ".." */
4860: nmlen = strlen((B*)nm);
4861: if (nmlen <= nmsz) strcpy(e->d_name, (B*)nm);
5130:
5131: utf8nm += strlen((B*)utf8nm);
5132:
5134:
5135: if (utf8nm + strlen(path) >= e_utf8nm) {
5136: err = EX_NAMETOOLONG;
5148: if ((npath = (UB*)strchr((B*)cpath, '/')) == NULL) {
5149: len = strlen((B*)cpath);
5150: } else {
6274: fs->ff_c.fs_coninf = coninf;
6275: fs->ff_c.fs_conlen = strlen(coninf->connm) + 1;
6276: /* + 1 : '/' <connm> */