Skip to content

Commit ab67803

Browse files
committed
Auto merge of #1205 - alecmocatta:master, r=gnzlbg
Comment FIOSEEK* until they're in a NetBSD release Accidentally included two constants that aren't in the current release of NetBSD. While this doesn't impact libc-consumers, failing the testsuite on latest NetBSD isn't ideal. I've commented them out; they can be reintroduced when the next NetBSD ships with them included.
2 parents 8bb09e2 + b8efb9c commit ab67803

File tree

1 file changed

+3
-2
lines changed
  • src/unix/bsd/netbsdlike/netbsd

1 file changed

+3
-2
lines changed

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -988,8 +988,9 @@ pub const SOCK_CLOEXEC: ::c_int = 0x10000000;
988988
pub const SOCK_NONBLOCK: ::c_int = 0x20000000;
989989

990990
pub const FIONCLEX: ::c_ulong = 0x20006602;
991-
pub const FIOSEEKDATA: ::c_ulong = 0xc0086661;
992-
pub const FIOSEEKHOLE: ::c_ulong = 0xc0086662;
991+
// Uncomment on next NetBSD release
992+
// pub const FIOSEEKDATA: ::c_ulong = 0xc0086661;
993+
// pub const FIOSEEKHOLE: ::c_ulong = 0xc0086662;
993994
pub const FIONREAD: ::c_ulong = 0x4004667f;
994995
pub const FIOASYNC: ::c_ulong = 0x8004667d;
995996
pub const FIOSETOWN: ::c_ulong = 0x8004667c;

0 commit comments

Comments
 (0)