From 5ab7d2dd72bffc2b48826eac97971e84ad234503 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 6 Feb 2019 21:06:11 -0500 Subject: [PATCH] remove O_LARGEFILE --- src/fs_cow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fs_cow.cpp b/src/fs_cow.cpp index 95809ef2..e7ea0284 100644 --- a/src/fs_cow.cpp +++ b/src/fs_cow.cpp @@ -104,13 +104,13 @@ namespace fs int dst_fd; string dst_fullpath; - src_fd = fs::open(src_fullpath_,O_RDONLY|O_NOFOLLOW|O_LARGEFILE); + src_fd = fs::open(src_fullpath_,O_RDONLY|O_NOFOLLOW); if(src_fd == -1) return -1; dst_fullpath = src_fullpath_; - dst_fd = fs::mktemp(dst_fullpath,O_WRONLY|O_LARGEFILE); + dst_fd = fs::mktemp(dst_fullpath,O_WRONLY); if(dst_fd == -1) return cleanup_on_error(src_fd);