* Bug fix: Unspecified Expiration Time and Effective Time of ISO volume was
represented by 0-bytes rather than ASCII '0' digits.
This commit is contained in:
parent
1a2e1c767e
commit
eb6503a8ad
@ -1,6 +1,7 @@
|
||||
bzr branch lp:libisofs/for-libisoburn (to become libisofs-1.3.0.tar.gz)
|
||||
===============================================================================
|
||||
- no novelties yet -
|
||||
* Bug fix: Unspecified Expiration Time and Effective Time of ISO volume was
|
||||
represented by 0-bytes rather than ASCII '0' digits.
|
||||
|
||||
|
||||
libisofs-1.2.8.tar.gz Mon Mar 18 2013
|
||||
|
@ -501,13 +501,23 @@ void ecma119_set_voldescr_times(IsoImageWriter *writer,
|
||||
else
|
||||
iso_datetime_17(vol->vol_modification_time, t->now, t->always_gmt);
|
||||
|
||||
if (t->vol_expiration_time > 0)
|
||||
if (t->vol_expiration_time > 0) {
|
||||
iso_datetime_17(vol->vol_expiration_time, t->vol_expiration_time,
|
||||
t->always_gmt);
|
||||
} else {
|
||||
for(i = 0; i < 16; i++)
|
||||
vol->vol_expiration_time[i] = '0';
|
||||
vol->vol_expiration_time[16] = 0;
|
||||
}
|
||||
|
||||
if (t->vol_effective_time > 0)
|
||||
if (t->vol_effective_time > 0) {
|
||||
iso_datetime_17(vol->vol_effective_time, t->vol_effective_time,
|
||||
t->always_gmt);
|
||||
} else {
|
||||
for(i = 0; i < 16; i++)
|
||||
vol->vol_effective_time[i] = '0';
|
||||
vol->vol_effective_time[16] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user