mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 00:02:44 +00:00
Obtained from: memories of 1.1.5
Fix the sign of the timezone offset again.
This commit is contained in:
parent
9016a6c149
commit
2d091ecf19
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6603
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user