New command -toc_info_type
This commit is contained in:
@ -325,8 +325,14 @@ int Xorriso_pvd_info(struct XorrisO *xorriso, int flag)
|
||||
Xorriso_result(xorriso,0);
|
||||
|
||||
ret= iso_image_get_pvd_times(image, &crt, &mdt, &ext, &eft);
|
||||
if(ret != ISO_SUCCESS)
|
||||
if(ret != ISO_SUCCESS) {
|
||||
crt= mdt= ext= eft= " "; /* Need 17 bytes. Last byte 0. */
|
||||
} else {
|
||||
Untimezone_ecma119_17byte(crt, 0);
|
||||
Untimezone_ecma119_17byte(mdt, 0);
|
||||
Untimezone_ecma119_17byte(ext, 0);
|
||||
Untimezone_ecma119_17byte(eft, 0);
|
||||
}
|
||||
Xorriso_report_pvd_time(xorriso, "Creation Time:", crt, 0);
|
||||
Xorriso_report_pvd_time(xorriso, "Modif. Time :", mdt, 0);
|
||||
Xorriso_report_pvd_time(xorriso, "Expir. Time :", ext, 0);
|
||||
|
Reference in New Issue
Block a user