Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/svr4pkg/libinst/
H A Dpkgops.c354 char savePath[PATH_MAX]; in pkgRemovePackageFromGzonlyList() local
398 len = snprintf(savePath, sizeof (savePath), "%s/%s.save", in pkgRemovePackageFromGzonlyList()
488 if ((access(savePath, F_OK) == 0) && remove(savePath)) { in pkgRemovePackageFromGzonlyList()
489 progerr(ERR_REMOVE, savePath, strerror(errno)); in pkgRemovePackageFromGzonlyList()
494 if (link(srcPath, savePath) != 0) { in pkgRemovePackageFromGzonlyList()
495 progerr(ERR_LINK, savePath, srcPath, strerror(errno)); in pkgRemovePackageFromGzonlyList()
502 if (rename(savePath, srcPath)) { in pkgRemovePackageFromGzonlyList()
503 progerr(ERR_RENAME, savePath, srcPath, strerror(errno)); in pkgRemovePackageFromGzonlyList()
509 if (remove(savePath) != 0) { in pkgRemovePackageFromGzonlyList()
510 progerr(ERR_REMOVE, savePath, strerror(errno)); in pkgRemovePackageFromGzonlyList()
[all …]