File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -5354,11 +5354,9 @@ fn test_aix(target: &str) {
53545354 // Skip 'sighandler_t' assignments.
53555355 "SIG_DFL" | "SIG_ERR" | "SIG_IGN" => true ,
53565356
5357- // _ALL_SOURCE defines these errno values as aliases of other errno
5358- // values, but POSIX requires each errno to be unique. Skip these
5359- // values because non-unique values are being used which will
5360- // fail the test when _ALL_SOURCE is defined.
5361- "EWOULDBLOCK" | "ENOTEMPTY" => true ,
5357+ // _ALL_SOURCE defines ENOTEMPTY as an alias of EEXIST, but POSIX
5358+ // requires its value to be unique. Skip.
5359+ "ENOTEMPTY" => true ,
53625360
53635361 // FIXME(ctest): These constants are intended for use as the 'int request' argument
53645362 // to 'ioctl()'. However, the AIX headers do not explicitly define their types. If a
Original file line number Diff line number Diff line change @@ -1275,7 +1275,8 @@ pub const ENOLCK: c_int = 49;
12751275pub const ENOCONNECT : c_int = 50 ;
12761276pub const ESTALE : c_int = 52 ;
12771277pub const EDIST : c_int = 53 ;
1278- pub const EWOULDBLOCK : c_int = 54 ;
1278+ // POSIX allows EWOULDBLOCK to be the same value as EAGAIN.
1279+ pub const EWOULDBLOCK : c_int = EAGAIN ;
12791280pub const EINPROGRESS : c_int = 55 ;
12801281pub const EALREADY : c_int = 56 ;
12811282pub const ENOTSOCK : c_int = 57 ;
You can’t perform that action at this time.
0 commit comments