diff options
-rw-r--r-- | src/file_handle_cache.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl index fb20ce93..13ee4249 100644 --- a/src/file_handle_cache.erl +++ b/src/file_handle_cache.erl @@ -377,7 +377,7 @@ needs_sync(Ref) -> %% This must *not* use with_handles/2; see bug 25052 case get({Ref, fhc_handle}) of #handle { is_dirty = false, write_buffer = [] } -> false; - _ -> true + #handle {} -> true end. position(Ref, NewOffset) -> |