[PATCH] Use posix_fallocate instead of ftruncate.
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 19 07:06:31 PDT 2016
This makes sure that space is actually available. With this change
running lld on a full file system causes it to exit with
failed to open foo: No space left on device
instead of crashing with a sigbus.
Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-posix_fallocate-instead-of-ftruncate.patch
Type: text/x-patch
Size: 1105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160719/10ba35ef/attachment.bin>
More information about the llvm-commits
mailing list