pkolaczk / fclones

Efficient Duplicate File Finder
MIT License
1.91k stars 71 forks source link

Make initializing libc::flock more portable #87

Closed pkolaczk closed 2 years ago

pkolaczk commented 2 years ago

Different Unixes seem to have flock differing by the set of fields. We don't need those fields in this case, so we just initialize them to zero.

Fixes #85

pkolaczk commented 2 years ago

Works for me on a VM (was painfully slow to compile though): obraz