Changeset 533e2d7 in mainline for uspace/srv/fs/udf/udf_volume.c


Ignore:
Timestamp:
2013-06-03T07:55:35Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
797d4d19
Parents:
ea15a89a (diff), 6db5d4b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/udf/udf_volume.c

    rea15a89a r533e2d7  
    262262                 * and Descriptor char set field.
    263263                 */
    264                 if ((bcmp((uint8_t *) pvd[i].volume_id,
     264                if ((memcmp((uint8_t *) pvd[i].volume_id,
    265265                    (uint8_t *) desc->volume_id, 32) == 0) &&
    266                     (bcmp((uint8_t *) pvd[i].volume_set_id,
     266                    (memcmp((uint8_t *) pvd[i].volume_set_id,
    267267                    (uint8_t *) desc->volume_set_id, 128) == 0) &&
    268                     (bcmp((uint8_t *) &pvd[i].descriptor_charset,
     268                    (memcmp((uint8_t *) &pvd[i].descriptor_charset,
    269269                    (uint8_t *) &desc->descriptor_charset, 64) == 0) &&
    270270                    (FLE32(desc->sequence_number) > FLE32(pvd[i].sequence_number))) {
     
    301301                 * Logic Volume Identifier and Descriptor char set field.
    302302                 */
    303                 if ((bcmp((uint8_t *) lvd[i].logical_volume_id,
     303                if ((memcmp((uint8_t *) lvd[i].logical_volume_id,
    304304                    (uint8_t *) desc->logical_volume_id, 128) == 0) &&
    305                     (bcmp((uint8_t *) &lvd[i].charset,
     305                    (memcmp((uint8_t *) &lvd[i].charset,
    306306                    (uint8_t *) &desc->charset, 64) == 0) &&
    307307                    (FLE32(desc->sequence_number) > FLE32(lvd[i].sequence_number))) {
Note: See TracChangeset for help on using the changeset viewer.