diff options
author | Colin Walters <walters@verbum.org> | 2017-08-02 15:44:34 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-08-16 12:56:48 +0000 |
commit | 6063bdb0130cd0dc099bbf509f90863af7b3f0c0 (patch) | |
tree | 45da0e22d7f1eb7ef0dbe92560be10a1daa2dda7 /src/libostree/ostree-repo-checkout.c | |
parent | b669bcafe54479cf48d95293e18c5d0f3fe85ebc (diff) | |
download | ostree-6063bdb0130cd0dc099bbf509f90863af7b3f0c0.tar.gz |
Update libglnx
This is mostly the `copy_file_range` changes plus the Coverity files.
```
Colin Walters (4):
localalloc: Abort on EBADF from close() by default
local-alloc: Remove almost all macros like glnx_free, glnx_unref_variant
console: Fix Coverity NULL deref warning
fdio: Merge systemd code to use copy_file_range(), use FICLONE
Jonathan Lebon (1):
console: trim useless check
Matthew Leeds (1):
dirfd: Fix typo in comment
Philip Withnall (1):
glnx-console: Add missing NULL check before writing out text
```
Update submodule: libglnx
Closes: #1081
Approved by: jlebon
Diffstat (limited to 'src/libostree/ostree-repo-checkout.c')
-rw-r--r-- | src/libostree/ostree-repo-checkout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-repo-checkout.c b/src/libostree/ostree-repo-checkout.c index bfc280b6..3deaa297 100644 --- a/src/libostree/ostree-repo-checkout.c +++ b/src/libostree/ostree-repo-checkout.c @@ -122,7 +122,7 @@ write_regular_file_content (OstreeRepo *self, int infd = g_file_descriptor_based_get_fd ((GFileDescriptorBased*) input); guint64 len = g_file_info_get_size (file_info); - if (glnx_regfile_copy_bytes (infd, outfd, (off_t)len, TRUE) < 0) + if (glnx_regfile_copy_bytes (infd, outfd, (off_t)len) < 0) return glnx_throw_errno_prefix (error, "regfile copy"); } else |