9fa9eb9ac7
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
19 lines
580 B
C
19 lines
580 B
C
--- zooadd2.c.orig 1991-07-19 23:38:10 UTC
|
|
+++ zooadd2.c
|
|
@@ -258,12 +258,15 @@ void newdir (direntry)
|
|
register struct direntry *direntry;
|
|
{
|
|
#ifdef GETTZ
|
|
+ long mstonix();
|
|
long gettz();
|
|
+ long t;
|
|
#endif
|
|
direntry->zoo_tag = ZOO_TAG;
|
|
direntry->type = 2; /* type is now 2 */
|
|
#ifdef GETTZ
|
|
- direntry->tz = gettz() / (15 * 60); /* seconds => 15-min units */
|
|
+ t = mstonix (direntry->date, direntry->time);
|
|
+ direntry->tz = gettz(t) / (15 * 60); /* seconds => 15-min units */
|
|
#else
|
|
direntry->tz = NO_TZ; /* timezone unknown */
|
|
#endif
|