Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/vi/port/
H A Dexpreserve.c179 unsigned char savdir[PATH_MAX+1]; in copyout() local
273 strcpy(savdir, mydir); in copyout()
276 strcat(savdir, pp->pw_name); in copyout()
281 if (lstat64((char *)savdir, &stbuf) < 0 || !S_ISDIR(stbuf.st_mode)) { in copyout()
283 (void) unlink((char *)savdir); in copyout()
284 if (mkdir((char *)savdir, 0700) < 0) { in copyout()
287 savdir); in copyout()
291 (void) chmod((char *)savdir, 0700); in copyout()
292 (void) chown((char *)savdir, H.Uid, 2); in copyout()
299 if ((savfild = mknext(savdir, pattern)) < 0) { in copyout()
[all …]