[tz] [PROPOSED] zic option for including data from a certain year onward

Scott Nelson sbnelson at thermeon.com
Fri Mar 8 14:07:59 UTC 2019


> On Mar 8, 2019, at 3:38 AM, Christopher Wong <christopher.wong at axis.com> wrote:
> 
> +			case 'k':
> +				if (truncstart == ZIC_MIN) {
> +					truncstart = atoi(optarg);
> +					if (truncstart > ZIC_MAX)
> +						truncstart = ZIC_MAX;
> +				}
> +				else {
> +					fprintf(stderr,
> +_("%s: More than one -k option specified\n"),
> +						progname);
> +					return EXIT_FAILURE;
> +				}
> +				break;

I don’t see a lower bounds test for the -k argument;  is that intentional?

Scott Nelson
Systems Analyst/Programmer  | Thermeon Ltd | Company No 11538126



More information about the tz mailing list