Page MenuHomeFreeBSD

D50198.id154954.diff
No OneTemporary

D50198.id154954.diff

diff --git a/usr.sbin/makefs/msdos/msdosfs_vnops.c b/usr.sbin/makefs/msdos/msdosfs_vnops.c
--- a/usr.sbin/makefs/msdos/msdosfs_vnops.c
+++ b/usr.sbin/makefs/msdos/msdosfs_vnops.c
@@ -111,7 +111,10 @@
struct tm lt = {0};
t1 = tsp->tv_sec;
- localtime_r(&t1, &lt);
+ if (stampst.st_ino != 0)
+ gmtime_r(&t1, &lt);
+ else
+ localtime_r(&t1, &lt);
unsigned long fat_time = ((lt.tm_year - 80) << 25) |
((lt.tm_mon + 1) << 21) |

File Metadata

Mime Type
text/plain
Expires
Tue, Jun 23, 6:45 PM (16 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34256406
Default Alt Text
D50198.id154954.diff (449 B)

Event Timeline