freebsd-ports/archivers/zoo/files/patch-nixtime.i
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

12 lines
327 B
OpenEdge ABL

--- nixtime.i.orig 1991-07-16 15:53:46 UTC
+++ nixtime.i
@@ -52,7 +52,8 @@ unsigned int date, time;
long mstonix();
long gettz();
long utimbuf[2];
- utimbuf[0] = utimbuf[1] = gettz() + mstonix (date, time);
+ long t = mstonix (date, time);
+ utimbuf[0] = utimbuf[1] = t + gettz(t);
return (utime (path, utimbuf));
}