Searched refs:dstpath (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/cmds/installd/ |
H A D | commands.c | 699 int movefileordir(char* srcpath, char* dstpath, int dstbasepos, argument 707 int dstend = strlen(dstpath); 715 mkinnerdirs(dstpath, dstbasepos, S_IRWXU|S_IRWXG|S_IXOTH, 717 LOGI("Renaming %s to %s (uid %d)\n", srcpath, dstpath, dstuid); 718 if (rename(srcpath, dstpath) >= 0) { 719 if (chown(dstpath, dstuid, dstgid) < 0) { 720 LOGE("cannot chown %s: %s\n", dstpath, strerror(errno)); 721 unlink(dstpath); 726 srcpath, dstpath, strerror(errno)); 754 LOGW("Destination path too long; skipping: %s/%s\n", dstpath, nam 789 char dstpath[PKG_PATH_MAX]; local [all...] |
Completed in 20 milliseconds