continue;
if (!hflag) continue;
main(argc, argv)	int argc;	char *argv[];{	FTS *ftsp;	FTSENT *p;	int Hflag, Lflag, Pflag, ch, fts_options, hflag, rval;	char *cp;		myname = (cp = strrchr(*argv, '/')) ? cp + 1 : *argv;	ischown = myname[2] == 'o';		Hflag = Lflag = Pflag = hflag = 0;	while ((ch = getopt(argc, argv, "HLPRfh")) != -1)		switch (ch) {		case 'H':			Hflag = 1;			Lflag = Pflag = 0;			break;		case 'L':			Lflag = 1;			Hflag = Pflag = 0;			break;		case 'P':			Pflag = 1;			Hflag = Lflag = 0;			break;		case 'R':			Rflag = 1;			break;		case 'f':			fflag = 1;			break;		case 'h':			/*			 * In System V (and probably POSIX.2) the -h option			 * causes chown/chgrp to change the owner/group of			 * the symbolic link.  4.4BSD's symbolic links don't			 * have owners/groups, so it's an undocumented noop.			 * Do syntax checking, though.			 */			hflag = 1;			break;		case '?':		default:			usage();		}	argv += optind;	argc -= optind;	if (argc < 2)		usage();	fts_options = FTS_PHYSICAL;	if (Rflag) {		if (hflag)			errx(1,		"the -R and -h options may not be specified together.");		if (Hflag)			fts_options |= FTS_COMFOLLOW;		if (Lflag) {			fts_options &= ~FTS_PHYSICAL;			fts_options |= FTS_LOGICAL;		}	}	uid = gid = -1;	if (ischown) {#ifdef SUPPORT_DOT		if ((cp = strchr(*argv, '.')) != NULL) {			*cp++ = '\0';			a_gid(cp);		} else#endif		if ((cp = strchr(*argv, ':')) != NULL) {			*cp++ = '\0';			a_gid(cp);		} 		a_uid(*argv);	} else 		a_gid(*argv);	if ((ftsp = fts_open(++argv, fts_options, 0)) == NULL)		err(1, NULL);	for (rval = 0; (p = fts_read(ftsp)) != NULL;) {		switch (p->fts_info) {		case FTS_D:			if (!Rflag)		/* Change it at FTS_DP. */				fts_set(ftsp, p, FTS_SKIP);			continue;		case FTS_DNR:			/* Warn, chown, continue. */			warnx("%s: %s", p->fts_path, strerror(p->fts_errno));			rval = 1;			break;		case FTS_ERR:			/* Warn, continue. */		case FTS_NS:			warnx("%s: %s", p->fts_path, strerror(p->fts_errno));			rval = 1;			continue;		case FTS_SL:			/* Ignore. */		case FTS_SLNONE:			/*			 * The only symlinks that end up here are ones that			 * don't point to anything and ones that we found			 * doing a physical walk.			 */			continue;		default:			break;		}		if (chown(p->fts_accpath, uid, gid) && !fflag) {			warn("%s", p->fts_path);			rval = 1;		}	}	if (errno)		err(1, "fts_read");	exit(rval);}