aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2009-11-02 22:32:14 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2009-11-02 22:32:14 +0000
commit68b27eaa458c119f24ec54c581601412bbcd5d5d (patch)
tree674dd8a751c8cc5b5122e9ca69451d529284c7c3
parent4f9074da93347bbe3167e16ebd27d5bd0e592729 (diff)
Vendor import of tzcode2009q:vendor/tzcode/tzcode2009q
- Add more references in tz-art.htm - Cleanup unnecessary local variables in zdump. Obtained from: ftp://elsie.nci.nih.gov/pub/
Notes
Notes: svn path=/vendor/tzcode/dist/; revision=198828 svn path=/vendor/tzcode/tzcode2009q/; revision=198829; tag=vendor/tzcode/tzcode2009q
-rw-r--r--unused/tz-art.htm30
-rw-r--r--zic/zdump.c10
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"
<body>
<h1>Time and the Arts</h1>
<address>
-@(#)tz-art.htm 8.13
+@(#)tz-art.htm 8.14
</address>
<p>
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).
</li>
<li>
-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
<a href="http://us.imdb.com/title/tt0038733/">
http://us.imdb.com/title/tt0038733/
</a>. (Dave Cantor)
+<li>
+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:
+<a href="http://us.imdb.com/title/tt0046436/">
+http://us.imdb.com/title/tt0046436/
+</a>. (Mark Brader, 2009-10-02)
+</li>
+<li>
+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:
+<a href="http://us.imdb.com/title/tt0137494/">
+http://us.imdb.com/title/tt0137494/
+</a>. (Mark Brader, 2009-10-02)
+</li>
</li>
</ul>
<hr>
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) {