Lines Matching refs:rc

124 	int rc = 0;
192 rc = -1;
218 rc = -1;
221 rc = opt_notouch ? 0 : chmod(dst, sp->f_mode);
225 sp->f_mode, rc, errno);
228 if (rc == 0) {
238 if (rc == 0 && do_acls) {
247 rc = -1;
250 rc = opt_notouch ? 0 : set_acls(dst, sp);
254 sp->f_numacls, rc, errno);
257 if (rc == 0) {
282 rc = 0;
290 if (rc == 0 && (do_chown || do_chgrp)) {
303 rc = -1;
306 rc = opt_notouch ? 0 : lchown(dst, sp->f_uid, sp->f_gid);
310 sp->f_uid, sp->f_gid, rc, errno);
313 if (rc == 0) {
325 if (rc != 0)
337 if (rc == 0 && do_stats)
344 if (rc != 0) {
395 int rc;
494 rc = -1;
497 rc = opt_notouch ? 0 : rmdir(dst);
506 rc = -1;
509 rc = opt_notouch ? 0 : unlink(dst);
512 if (rc != 0)
551 rc = -1;
554 rc = opt_notouch ? 0 : mkdir(dst, mode);
557 if (rc == 0) {
571 rc = -1;
574 rc = readlink(src, cmdbuf, sizeof (cmdbuf));
575 if (rc > 0) {
576 cmdbuf[rc] = 0;
585 rc = -1;
588 rc = opt_notouch ? 0 : symlink(cmdbuf, dst);
590 if (rc == 0)
605 rc = -1;
608 rc = opt_notouch ? 0
612 if (rc == 0) {
647 rc = -1;
650 rc = opt_notouch ? 0 : unlink(dst);
659 if (rc != 0) {
675 rc = -1;
678 rc = opt_notouch ? 0 : link(src, dst);
685 if (rc == 0) {
716 rc = opt_notouch ? 0 : copy(src, dst, mode);
717 if (rc != 0) {
718 errs |= rc;
742 if (rc == 0 && opt_notouch == 0 && opt_mtime) {
753 rc = -1;
761 if (rc == 0 && (do_chmod || do_chown || do_chgrp || do_acls)) {
762 rc = do_like(fp, srcdst, FALSE);
764 errs |= rc;
776 if (rc == 0)
783 rc = -1;
786 rc = lstat(dst, &statb);
788 if (rc == 0) {
815 cant: if (rc != 0) {
852 int rc;
876 rc = -1;
879 rc = opt_notouch ? 0 : rmdir(name);
889 rc = -1;
892 rc = opt_notouch ? 0 : unlink(name);
897 name, rc, errno);
899 if (rc == 0) {
937 { int rc;
968 rc = -1;
971 rc = opt_notouch ? 0 : rename(oldname, newname);
975 oldname, newname, rc, errno);
978 if (rc == 0)
985 rc = -1;
988 rc = lstat(newname, &statb);
990 if (rc == 0) {
1013 if (rc == 0) {