register int	i, j;
register int	i; register int	j;
main(argc, argv)int	argc;char *	argv[];{	register int	i, j;	register int	c;#ifdef unix	(void) umask(umask(022) | 022);#endif /* defined unix */	progname = argv[0];	while ((c = getopt(argc, argv, "d:l:p:L:vsy:")) != EOF)		switch (c) {			default:				usage();			case 'd':				if (directory == NULL)					directory = optarg;				else {					(void) fprintf(stderr,"%s: More than one -d option specified\n",						progname);					(void) exit(EXIT_FAILURE);				}				break;			case 'l':				if (lcltime == NULL)					lcltime = optarg;				else {					(void) fprintf(stderr,"%s: More than one -l option specified\n",						progname);					(void) exit(EXIT_FAILURE);				}				break;			case 'p':				if (psxrules == NULL)					psxrules = optarg;				else {					(void) fprintf(stderr,"%s: More than one -p option specified\n",						progname);					(void) exit(EXIT_FAILURE);				}				break;			case 'y':				if (yitcommand == NULL)					yitcommand = optarg;				else {					(void) fprintf(stderr,"%s: More than one -y option specified\n",						progname);					(void) exit(EXIT_FAILURE);				}				break;			case 'L':				if (leapsec == NULL)					leapsec = optarg;				else {					(void) fprintf(stderr,"%s: More than one -L option specified\n",						progname);					(void) exit(EXIT_FAILURE);				}				break;			case 'v':				noise = TRUE;				break;			case 's':				sflag = TRUE;				break;		}	if (optind == argc - 1 && strcmp(argv[optind], "=") == 0)		usage();	/* usage message by request */	if (directory == NULL)		directory = TZDIR;	if (yitcommand == NULL)		yitcommand = "yearistype";	setboundaries();	if (optind < argc && leapsec != NULL) {		infile(leapsec);		adjleap();	}	for (i = optind; i < argc; ++i)		infile(argv[i]);	if (errors)		(void) exit(EXIT_FAILURE);	associate();	for (i = 0; i < nzones; i = j) {		/*		** Find the next non-continuation zone entry.		*/		for (j = i + 1; j < nzones && zones[j].z_name == NULL; ++j)			continue;		outzone(&zones[i], j - i);	}	/*	** Make links.	*/	for (i = 0; i < nlinks; ++i)		dolink(links[i].l_from, links[i].l_to);	if (lcltime != NULL)		dolink(lcltime, TZDEFAULT);	if (psxrules != NULL)		dolink(psxrules, TZDEFRULES);	return (errors == 0) ? EXIT_SUCCESS : EXIT_FAILURE;}