logo

utils-std

Collection of commonly available Unix tools
commit: 9c24c9f53ec591ceec746ab315f05b912ff5bbfd
parent 2f6f709d89a3e1980797458296714175ad7d8db6
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 23 Apr 2024 19:31:59 +0200

cmd/truncate.c: Drop O_LARGEFILE (absent from FreeBSD)

Diffstat:

Mcmd/truncate.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/truncate.c b/cmd/truncate.c @@ -28,7 +28,7 @@ usage() int main(int argc, char *argv[]) { - int open_flags = O_WRONLY | O_CREAT | O_NONBLOCK | O_LARGEFILE; + int open_flags = O_WRONLY | O_CREAT | O_NONBLOCK; bool size_set = false; struct truncation tr;