Skip to content

Commit

Permalink
UTIME_OMIT and UTIME_NOW values are inverted on OpenBSD. correct it
Browse files Browse the repository at this point in the history
  • Loading branch information
semarie committed Aug 21, 2019
1 parent fd963f4 commit 255b01e
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 255b01e

Please sign in to comment.