Skip to content

Commit 893e49e

Browse files
committed
Fix: EBADR is platform-specific
1 parent 355c24f commit 893e49e

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/exception

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/exception/OSErrorEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public enum OSErrorEnum {
132132
ENOCSI(50, "No CSI structure available"),
133133
EL2HLT(51, "Level 2 halted"),
134134
EBADE(52, "Invalid exchange"),
135-
EBADR(53, "Invalid request descriptor"),
135+
EBADR(platformSpecific(53, -1), "Invalid request descriptor"),
136136
EXFULL(54, "Exchange full"),
137137
ENOANO(55, "No anode"),
138138
EBADRQC(56, "Invalid request code"),

0 commit comments

Comments
 (0)