matteomattei / PySquashfsImage

Python library to read Squashfs image files.
GNU General Public License v3.0
50 stars 20 forks source link

Update pathname during squashfs pre_scan #16

Open darktemplarbasealt opened 5 years ago

darktemplarbasealt commented 5 years ago

This change may be useful during debugging

nigels-com commented 5 years ago

I can can test these two changes since I happen to be actively working with sqashfs at the moment... I'll follow up in a day or two.

darktemplarbasealt commented 5 years ago

This change is not noticeable to user of this module since parent_name is only used for recursively constructing pathname which is used in next level of call to pre_scan. But it may be useful if you are debugging or if correct parent_name or pathname would be used for something else.

I've tested this change only with python 3.7.

matteomattei commented 5 years ago

@nigels-com did you test the changes? If they work feel free to squash and merge.