Jared Van Bortel

Results 91 issues of Jared Van Bortel

Only attempt to open regular files. It is entirely possible that we encounter an executable FIFO, which causes open() to block indefinitely if it is not opened for writing by...

- mktemp in /tmp - don't assume $0 is a file - remove stampfiles at exit - don't create stampfiles if -n is passed Closes #554

The worst of them were an undefined UINTPTR_MAX in RM_PLATFORM_*, which could both be false and caused a stat struct to be mis-casted in traverse.c, and a non-macro HASHER_FADVISE_FLAGS that...

This was causing issues on platforms that don't support SSE2, such as ARM. Fixes #547

This pull request is intended to fix the FIEMAP-related issues with --is-reflink: #527, #528, #529, and #530.

### Description rmlint --is-reflink completely skips every second extent. ### Steps to reproduce Build rmlint from the develop branch with \_RM\_OFFSET\_DEBUG=1. Then run these commands: ``` $ dd if=/dev/urandom of=foo...

bug

### Description When extents are physically adjacent, rmlint assumes they can safely be merged, even if they are not logically adjacent. ### Steps to reproduce Build rmlint from the develop...

bug

### Description rmlint --is-reflink does redundant work when met with a hole in a file. ### Steps to reproduce Build rmlint from the develop branch with \_RM\_OFFSET\_DEBUG=1 and fixes for...

bug

### Description rmlint --is-reflink ignores the physical offset of the last extent in a file, as long as there are at least two extents total, even if a fix for...

bug

If the nativejson binary is run from certain directories (such as the root of the repository), `ReadFiles` fails twice: https://github.com/miloyip/nativejson-benchmark/blob/2d4e633eac404625a04dd77c0bfb53712ccb3ecd/src/main.cpp#L1238 So testJsons has length 0 and capacity 0. That makes...