Hi,

I'm writing a tool that uses ddrescuelog, but I appear to have found a bug
in the -z (OR) function. I am using version 1.17

*mapfile1:*
# current_pos  current_status
0x0000000000   ?
#        pos          size  status
0x0000000000  0x0004000000  -
0x0004000000  0x0001000000  +
0x0005000000  0x0005000000  -

*mapfile2:*
# current_pos  current_status
0x0000000000   ?
#        pos          size  status
0x0000000000  0x0009000000  -
0x0009000000  0x0001000000  +

*-z output (same as -x):*
# current_pos  current_status
0x00000000     ?
#      pos        size  status
0x00000000  0x09000000  -
0x09000000  0x01000000  +

*expected:*
# current_pos  current_status
0x00000000     ?
#      pos        size  status
0x00000000  0x04000000  -
0x04000000  0x01000000  +
0x05000000  0x04000000  -
0x09000000  0x01000000  +

Best regards,
Richard
_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-ddrescue

Reply via email to