From 68b27eaa458c119f24ec54c581601412bbcd5d5d Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 2 Nov 2009 22:32:14 +0000 Subject: [PATCH] Vendor import of tzcode2009q: - Add more references in tz-art.htm - Cleanup unnecessary local variables in zdump. Obtained from: ftp://elsie.nci.nih.gov/pub/ --- unused/tz-art.htm | 30 ++++++++++++++++++++++++++++-- zic/zdump.c | 10 ++++++---- 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/unused/tz-art.htm b/unused/tz-art.htm index cba330e0b76c..4bc32b24a10e 100644 --- a/unused/tz-art.htm +++ b/unused/tz-art.htm @@ -9,7 +9,7 @@ PUBLIC "-//W3C//DTD HTML 4.01//EN"

Time and the Arts

-@(#)tz-art.htm 8.13 +@(#)tz-art.htm 8.14

This file is in the public domain, so clarified as of @@ -354,7 +354,8 @@ premonition in the "We Had a Dream" episode of "Medium" (originally aired 2007-02-28).

  • -In the 1946 "A Matter of Life and Death," +In the 1946 movie "A Matter of Life and Death" +(U.S. title "Stairway to Heaven") there is a reference to British Double Summer Time. The time does not play a large part in the plot; it's just a passing reference to the time when one of the @@ -363,6 +364,31 @@ The IMDb page is at http://us.imdb.com/title/tt0038733/ . (Dave Cantor) +
  • +The 1953 railway comedy movie "The Titfield Thunderbolt" includes a +play on words on British Double Summer Time. Valentine's wife wants +him to leave the pub and asks him, "Do you know what time it is?" +And he, happy where he is, replies: "Yes, my love. Summer double time." +IMDB page: + +http://us.imdb.com/title/tt0046436/ +. (Mark Brader, 2009-10-02) +
  • +
  • +The premise of the 1999 caper movie "Entrapment" involves computers +in an international banking network being shut down briefly at +midnight in each time zone to avoid any problems at the transition +from the year 1999 to 2000 in that zone. (Hmmmm.) If this shutdown +is extended by 10 seconds, it will create a one-time opportunity for +a gigantic computerized theft. To achieve this, at one location the +crooks interfere with the microwave system supplying time signals to +the computer, advancing the time by 0.1 second each minute over the +last hour of 1999. (So this movie teaches us that 0.1 x 60 = 10.) +IMDB page: + +http://us.imdb.com/title/tt0137494/ +. (Mark Brader, 2009-10-02) +

  • diff --git a/zic/zdump.c b/zic/zdump.c index 7122bbf8918c..7985b9269da9 100644 --- a/zic/zdump.c +++ b/zic/zdump.c @@ -3,7 +3,7 @@ ** 2009-05-17 by Arthur David Olson. */ -static char elsieid[] = "@(#)zdump.c 8.9"; +static char elsieid[] = "@(#)zdump.c 8.10"; /* ** This code has been made independent of the rest of the time @@ -236,7 +236,9 @@ const char * const zone; } static void -usage(const char *progname, FILE *stream, int status) +usage(stream, status) +FILE * const stream; +const int status { (void) fprintf(stream, _("%s: usage is %s [ --version ] [ --help ] [ -v ] [ -c [loyear,]hiyear ] zonename ...\n\ @@ -283,7 +285,7 @@ char * argv[]; (void) printf("%s\n", elsieid); exit(EXIT_SUCCESS); } else if (strcmp(argv[i], "--help") == 0) { - usage(progname, stdout, EXIT_SUCCESS); + usage(stdout, EXIT_SUCCESS); } vflag = 0; cutarg = NULL; @@ -293,7 +295,7 @@ char * argv[]; else cutarg = optarg; if ((c != EOF && c != -1) || (optind == argc - 1 && strcmp(argv[optind], "=") == 0)) { - usage(progname, stderr, EXIT_FAILURE); + usage(stderr, EXIT_FAILURE); } if (vflag) { if (cutarg != NULL) {