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/
This commit is contained in:
Edwin Groothuis 2009-11-02 22:32:14 +00:00
parent 4f9074da93
commit 68b27eaa45
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor/tzcode/dist/; revision=198828
svn path=/vendor/tzcode/tzcode2009q/; revision=198829; tag=vendor/tzcode/tzcode2009q
2 changed files with 34 additions and 6 deletions

View File

@ -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>

View File

@ -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) {