commit | 5096d8de034a11c5d7e35fd7e6fde75c168f5e3f | [log] [tgz] |
---|---|---|
author | Joerg Sonnenberger <joerg@bec.de> | Fri May 05 17:55:58 2017 +0000 |
committer | Joerg Sonnenberger <joerg@bec.de> | Fri May 05 17:55:58 2017 +0000 |
tree | 351406e5d1ce1c99ef7d1a96a3c7d28b737bda97 | |
parent | ace8b39f824d5cb59fc1dc9023136e170df841bb [diff] |
If posix_fallocate returns EOPNOTSUPP, fallback to ftruncate. This can happen at least on NetBSD. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302263 91177308-0d34-0410-b5e6-96231b3b80d8