LinearTapeFileSystem / ltfs

Reference implementation of the LTFS format Spec for stand alone tape drive
BSD 3-Clause "New" or "Revised" License
256 stars 76 forks source link

Fix a type mismatch bug in ltfs_ordered_copy #372

Closed piste-jp closed 1 year ago

piste-jp commented 1 year ago

Summary of changes

There is type mismatch into detecting the code that destination is LTFS or not. The xattr module returns binary data (without NULL termination) so binary compare is required.

This change also includes a bug fix at single file copy. It tries to get a length of None type object.

Fixes #370

Type of change

Checklist: