filebuf.c
12.5 KB
-
filebuf: handle write error in `lock_file` · 18c4ae70
When writing to a file with locking not check if writing the locked file actually succeeds. Fix the issue by returning error code and message when writing fails.
Patrick Steinhardt committed