Skip to content

Commit 9af04ce

Browse files
committed
Auto merge of #1485 - semarie:openbsd-utime, r=gnzlbg
UTIME_OMIT and UTIME_NOW values are inverted on OpenBSD. correct it unbreak OpenBSD after #1474
2 parents 7869d20 + 255b01e commit 9af04ce

File tree

1 file changed

+2
-2
lines changed
  • src/unix/bsd/netbsdlike/openbsd

1 file changed

+2
-2
lines changed

src/unix/bsd/netbsdlike/openbsd/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -748,8 +748,8 @@ pub const ELAST : ::c_int = 95;
748748

749749
pub const F_DUPFD_CLOEXEC : ::c_int = 10;
750750

751-
pub const UTIME_OMIT: c_long = -2;
752-
pub const UTIME_NOW: c_long = -1;
751+
pub const UTIME_OMIT: c_long = -1;
752+
pub const UTIME_NOW: c_long = -2;
753753

754754
pub const AT_FDCWD: ::c_int = -100;
755755
pub const AT_EACCESS: ::c_int = 0x01;

0 commit comments

Comments
 (0)