[CDMAKE]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 5 May 2013 10:18:52 +0000 (10:18 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 5 May 2013 10:18:52 +0000 (10:18 +0000)
Reset the "volume expiration date" and the "volume effective date". They are not used.
See http://wiki.osdev.org/ISO_9660#The_Primary_Volume_Descriptor for more information.

svn path=/trunk/; revision=58939

reactos/tools/cdmake/cdmake.c

index 751c588..fbe1a5b 100644 (file)
@@ -1165,9 +1165,9 @@ static void pass(void)
   write_byte(0);
   write_string(timestring);  // most recent modification
   write_byte(0);
-  write_string(timestring);  // volume expires
+  write_string("0000000000000000");  // volume expires
   write_byte(0);
-  write_string(timestring);  // volume is effective
+  write_string("0000000000000000");  // volume is effective
   write_byte(0);
   write_byte(1);
   write_byte(0);
@@ -1221,13 +1221,13 @@ static void pass(void)
     write_block(37, ' ');       // abstract file identifier
     write_block(37, ' ');       // bibliographic file identifier
     write_string(timestring);  // volume creation
-    write_byte(48);
+    write_byte(0);
     write_string(timestring);  // most recent modification
-    write_byte(48);
-    write_string(timestring);  // volume expires
-    write_byte(48);
-    write_string(timestring);  // volume is effective
-    write_byte(48);
+    write_byte(0);
+    write_string("0000000000000000");  // volume expires
+    write_byte(0);
+    write_string("0000000000000000");  // volume is effective
+    write_byte(0);
     write_byte(1);
     write_byte(0);
     fill_sector();