From 255b01e6584bb0738810e778a011db482abf4000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Marie?= Date: Wed, 21 Aug 2019 08:45:14 +0200 Subject: [PATCH] UTIME_OMIT and UTIME_NOW values are inverted on OpenBSD. correct it --- src/unix/bsd/netbsdlike/openbsd/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unix/bsd/netbsdlike/openbsd/mod.rs b/src/unix/bsd/netbsdlike/openbsd/mod.rs index ab65a6de..b50d8154 100644 --- a/src/unix/bsd/netbsdlike/openbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/openbsd/mod.rs @@ -748,8 +748,8 @@ pub const ELAST : ::c_int = 95; pub const F_DUPFD_CLOEXEC : ::c_int = 10; -pub const UTIME_OMIT: c_long = -2; -pub const UTIME_NOW: c_long = -1; +pub const UTIME_OMIT: c_long = -1; +pub const UTIME_NOW: c_long = -2; pub const AT_FDCWD: ::c_int = -100; pub const AT_EACCESS: ::c_int = 0x01;