svn commit: r300170 - head/usr.sbin/makefs

Simon J. Gerraty sjg at FreeBSD.org
Wed May 18 22:24:53 UTC 2016


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


More information about the svn-src-head mailing list