Author: sjg
Date: Wed May 18 22:24:52 2016
New Revision: 300170
URL: https://svnweb.freebsd.org/changeset/base/300170

Log:
  Initialize date of rootNode.
  
  Reviewed by:  jtl

Modified:
  head/usr.sbin/makefs/cd9660.c

Modified: head/usr.sbin/makefs/cd9660.c
==============================================================================
--- head/usr.sbin/makefs/cd9660.c       Wed May 18 22:23:20 2016        
(r300169)
+++ head/usr.sbin/makefs/cd9660.c       Wed May 18 22:24:52 2016        
(r300170)
@@ -685,6 +685,9 @@ cd9660_finalize_PVD(void)
        cd9660_time_8426(
            (unsigned char *)diskStructure.primaryDescriptor.effective_date,
            tim);
+       /* make this sane */
+       cd9660_time_915(diskStructure.rootNode->dot_record->isoDirRecord->date,
+                       tim);
 }
 
 static void
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to