From b6bb892eea13d46fa7f4835990a5073a22aad7e6 Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Fri, 18 Sep 2015 18:32:16 +0000 Subject: [PATCH] freebsd 11 now has utimensat --- syscall/freebsd/constants.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/syscall/freebsd/constants.lua b/syscall/freebsd/constants.lua index 305a8cb151..b1a703da03 100644 --- a/syscall/freebsd/constants.lua +++ b/syscall/freebsd/constants.lua @@ -1335,5 +1335,13 @@ c.CAP_RIGHTS_VERSION = 0 -- we do not understand others end -- freebsd >= 10 +if version >= 11 then +-- for utimensat +c.UTIME = strflag { + NOW = -1, + OMIT = -2, +} +end + return c