File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -1008,6 +1008,10 @@ fn test_solarish(target: &str) {
1008
1008
"madvise" | "mprotect" if is_illumos => true ,
1009
1009
"door_call" | "door_return" | "door_create" if is_illumos => true ,
1010
1010
1011
+ // The compat functions use these "native" functions linked to their
1012
+ // non-prefixed implementations in libc.
1013
+ "native_getpwent_r" | "native_getgrent_r" => true ,
1014
+
1011
1015
// Not visible when build with _XOPEN_SOURCE=700
1012
1016
"mmapobj" | "mmap64" | "meminfo" | "getpagesizes" | "getpagesizes2" => true ,
1013
1017
@@ -1016,6 +1020,12 @@ fn test_solarish(target: &str) {
1016
1020
// value is not useful (always 0) so we can ignore it:
1017
1021
"setservent" | "endservent" if is_illumos => true ,
1018
1022
1023
+ // Following illumos#3729, getifaddrs was changed to a
1024
+ // redefine_extname symbol in order to preserve compatibility.
1025
+ // Until better symbol binding story is figured out, it must be
1026
+ // excluded from the tests.
1027
+ "getifaddrs" if is_illumos => true ,
1028
+
1019
1029
_ => false ,
1020
1030
}
1021
1031
} ) ;
Original file line number Diff line number Diff line change @@ -3203,9 +3203,9 @@ extern "C" {
3203
3203
3204
3204
pub fn sync ( ) ;
3205
3205
3206
- fn __major ( version : :: c_int , devnum : :: dev_t ) -> :: major_t ;
3207
- fn __minor ( version : :: c_int , devnum : :: dev_t ) -> :: minor_t ;
3208
- fn __makedev ( version : :: c_int , majdev : :: major_t , mindev : :: minor_t ) -> :: dev_t ;
3206
+ pub fn __major ( version : :: c_int , devnum : :: dev_t ) -> :: major_t ;
3207
+ pub fn __minor ( version : :: c_int , devnum : :: dev_t ) -> :: minor_t ;
3208
+ pub fn __makedev ( version : :: c_int , majdev : :: major_t , mindev : :: minor_t ) -> :: dev_t ;
3209
3209
}
3210
3210
3211
3211
#[ link( name = "sendfile" ) ]
You can’t perform that action at this time.
0 commit comments