mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
9fa9eb9ac7
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
20 lines
580 B
C
20 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
|