Obtained from: memories of 1.1.5

Fix the sign of the timezone offset again.
This commit is contained in:
Bruce Evans 1995-02-21 18:41:30 +00:00
parent 9016a6c149
commit 2d091ecf19
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6603
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)cd9660_node.c 8.2 (Berkeley) 1/23/94
* $Id: cd9660_node.c,v 1.7 1994/10/06 21:06:17 davidg Exp $
* $Id: cd9660_node.c,v 1.8 1995/01/16 17:03:24 joerg Exp $
*/
#include <sys/param.h>
@ -598,7 +598,7 @@ enum ISO_FTYPE ftype;
/* timezone offset is unreliable on some disks */
if (-48 <= tz && tz <= 52)
crtime += tz * 15 * 60;
crtime -= tz * 15 * 60;
}
pu->ts_sec = crtime;
pu->ts_nsec = 0;

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)cd9660_node.c 8.2 (Berkeley) 1/23/94
* $Id: cd9660_node.c,v 1.7 1994/10/06 21:06:17 davidg Exp $
* $Id: cd9660_node.c,v 1.8 1995/01/16 17:03:24 joerg Exp $
*/
#include <sys/param.h>
@ -598,7 +598,7 @@ enum ISO_FTYPE ftype;
/* timezone offset is unreliable on some disks */
if (-48 <= tz && tz <= 52)
crtime += tz * 15 * 60;
crtime -= tz * 15 * 60;
}
pu->ts_sec = crtime;
pu->ts_nsec = 0;