Searched refs:lpath (Results 1 – 4 of 4) sorted by relevance
/third_party/e2fsprogs/util/ |
D | symlinks.c | 168 static char lpath[PATH_MAX], new[PATH_MAX], abspath[PATH_MAX]; in fix_symlink() local 173 if ((c = readlink(path, lpath, sizeof(lpath) - 1)) == -1) { in fix_symlink() 177 lpath[c] = '\0'; /* readlink does not null terminate it */ in fix_symlink() 181 if (lpath[0] != '/') { in fix_symlink() 190 strcat(abspath,lpath); in fix_symlink() 195 printf("dangling: %s -> %s\n", path, lpath); in fix_symlink() 200 printf("deleted: %s -> %s\n", path, lpath); in fix_symlink() 210 } else if (lpath[0] == '/') { in fix_symlink() 217 fix_messy = tidy_path(strcpy(new,lpath)); in fix_symlink() 227 printf("%s %s -> %s\n", msg, path, lpath); in fix_symlink() [all …]
|
/third_party/node/test/parallel/ |
D | test-fs-utimes.js | 32 const lpath = `${tmpdir.path}/symlink`; constant 33 fs.symlinkSync('unoent-entry', lpath); 104 fs.lutimes(pathType(lpath), atime, mtime, common.mustCall((err) => { 105 expect_ok('lutimes', lpath, err, atime, mtime, fs.lstatSync); 135 fs.lutimesSync(pathType(lpath), atime, mtime); 136 expect_ok('lutimesSync', lpath, undefined, atime, mtime, fs.lstatSync);
|
/third_party/mksh/ |
D | exec.c | 1318 search_path(const char *name, const char *lpath, in search_path() argument 1347 sp = lpath; in search_path()
|
D | edit.c | 794 glob_path(int flags, const char *pat, XPtrV *wp, const char *lpath) in glob_path() argument 796 const char *sp = lpath, *p; in glob_path()
|