Searched refs:a_dstPath (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/cmd/svr4pkg/libinst/ |
H A D | copyf.c | 85 copyf(char *a_srcPath, char *a_dstPath, time_t a_mytime) in copyf() argument 112 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf() 116 pt = a_dstPath; in copyf() 119 if (isdir(a_dstPath)) { in copyf() 120 if (mkdir(a_dstPath, 0755)) { in copyf() 121 progerr(ERR_NODIR, a_dstPath, in copyf() 132 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf() 135 progerr(ERR_OPEN_WRITE, a_dstPath, errno, in copyf() 146 status = copyFile(srcFd, dstFd, a_srcPath, a_dstPath, &srcStatbuf, 0); in copyf() 167 if (utime(a_dstPath, ×) != 0) { in copyf() [all …]
|
/titanic_50/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | cppath.c | 90 cppath(int a_ctrl, char *a_srcPath, char *a_dstPath, mode_t a_mode) in cppath() argument 102 echoDebug(DBG_CPPATH_ENTRY, a_ctrl, a_mode, a_srcPath, a_dstPath); in cppath() 139 logerr(WRN_DEF_MODE, a_dstPath); in cppath() 153 dstFd = write_file(&linknam, a_ctrl, a_mode, a_dstPath); in cppath() 163 status = copyFile(srcFd, dstFd, a_srcPath, a_dstPath, &srcStatbuf, 0); in cppath() 180 if ((linknam != (char *)NULL) && (rename(linknam, a_dstPath) != 0)) { in cppath() 189 progerr(ERR_OUTPUT_WRITING, a_dstPath, errno, in cppath() 219 if (utime(a_dstPath, ×) != 0) { in cppath() 220 progerr(ERR_MODTIM, a_dstPath, errno, strerror(errno)); in cppath()
|