Searched refs:dstpath (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | reqexec.c | 89 char *dstpath; in dup_chkinstall() local 100 dstpath = (char *)malloc(dstpathLen); in dup_chkinstall() 101 if (dstpath == (char *)NULL) { in dup_chkinstall() 107 (void) snprintf(dstpath, dstpathLen, "%s/%s", tmpdir, tmpname); in dup_chkinstall() 109 if (mktemp(dstpath) == NULL) { in dup_chkinstall() 111 (void) free(dstpath); in dup_chkinstall() 117 r = copyf(script, dstpath, (time_t)0); in dup_chkinstall() 119 progerr(ERR_CANNOT_COPY, script, dstpath); in dup_chkinstall() 125 if (chmod(dstpath, 0444) != 0) { in dup_chkinstall() 127 (void) free(dstpath); in dup_chkinstall() [all …]
|
/titanic_44/usr/src/cmd/print/scripts/ |
H A D | ppdmgr | 214 dstpath="${dstmanufpath}/${2}" 220 dst_copy_path=$(variant_copy "${1}" "${dstpath}" "${6}" "${ppdfname}")
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.c | 9291 char *dstpath) in writeconf() argument 9304 pathend = strrchr(dstpath, '/'); in writeconf() 9318 } else if (pathend == dstpath) { in writeconf() 9330 tmppath = malloc(strlen(dstpath) + strlen("/ipqosconf.tmp") + in writeconf() 9336 (void) strcpy(tmppath, dstpath); in writeconf() 9374 if (rename(tmppath, dstpath) != 0) { in writeconf()
|