Load /tmp/tmp.iJANi30786/cdck-0.6.0 into
[debian/cdck.git] / src / lib_main.cpp
index 9c52152e04e3d058b9e2ccbb0afdad26252c9b87..256a62aa9906fd12b3a9aa8a3f380403ec180c02 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * $RCSfile: lib_main.cpp,v $
  * $Author: swaj $
- * $Revision: 1.8 $
+ * $Revision: 1.10 $
  */
 
 #ifdef HAVE_CONFIG_H
@@ -347,11 +347,23 @@ int Ccdrom::ReadTOC()
        }
 
        switch(fs & FS_MASK) {
+       case FS_ISO_HFS:
+#define PRINT_ISO9660 printf("iso9660: %i MB size, label '%.32s'\n", isofs_size/512,buffer+40);
+               PRINT_ISO9660;
+               break;
+
        case FS_ISO_9660:
        case FS_ISO_9660_INTERACTIVE:
-       case FS_ISO_HFS:
-               printf("iso9660: %i MB size, label >%.32s<\n",
-                      isofs_size/512,buffer+40);
+               PRINT_ISO9660;
+               if (strlen(sbuffer3)>1)
+                       printf ("Creating software: '%.80s'\n", sbuffer3);
+
+               if (strlen(sbuffer)>1)
+                       printf ("Publisher: '%.80s'\n", sbuffer);
+
+               if (strlen(sbuffer2)>1)
+                       printf ("Preparer: '%.80s'\n", sbuffer2);
+
                break;
        }