AgentD / squashfs-tools-ng

A new set of tools and libraries for working with SquashFS images
Other
194 stars 30 forks source link

Simplify fstree sorting #11

Closed Dr-Emann closed 4 years ago

Dr-Emann commented 4 years ago

For merging, the use of a pointer to a pointer can simplify linked list operations

For sorting, find the half-way point of the list in a single iteration over the list

AgentD commented 4 years ago

Hi!

Thanks for the patch! Unfortunately, I overlooked this pull request yesterday (notifying me is apparently no longer set by default on GitHub). I did a force push to master yesterday because I had to fiddle in a somewhat rushed early release after I was notified about a dispute regarding the previous release on the Debian bugs mailing list.

Anyway, I managed to get a usable patch file out of there and git am applied it on my end to keep the history sane.

Thanks,

David