Skip to content

Commit

Permalink
Auto merge of #1485 - semarie:openbsd-utime, r=gnzlbg
Browse files Browse the repository at this point in the history
UTIME_OMIT and UTIME_NOW values are inverted on OpenBSD. correct it

unbreak OpenBSD after #1474
  • Loading branch information
bors committed Aug 21, 2019
2 parents 7869d20 + 255b01e commit 9af04ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unix/bsd/netbsdlike/openbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9af04ce

Please sign in to comment.