[tz] [PROPOSED] Commentary fixes

Robert Elz kre at munnari.OZ.AU
Mon Jun 12 22:22:09 UTC 2017


    Date:        Mon, 12 Jun 2017 11:23:53 -0700
    From:        Paul Eggert <eggert at cs.ucla.edu>
    Message-ID:  <20170612182353.4103-1-eggert at cs.ucla.edu>

  | * asctime.c: Remove obsolete comment, as zdump now uses snprintf.

zdump might, but the code in question (in asctime) obviously doesn't

  | -	/*
  | -	** We avoid using snprintf since it's not available on all systems.
  | -	*/
  |  	sprintf(result,
  |  		((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B),
  |  		wn, mn,

kre



More information about the tz mailing list