Commit 76a8cc9
committed
refactor(sort): exclude unsupported Unix OSes from fd limit checks
Exclude redox, fuchsia, haiku, solaris, and illumos from Unix-specific file descriptor soft limit functionality in get_rlimit and fd_soft_limit, returning None on unsupported platforms to avoid compilation or runtime issues.1 parent 0d3f67f commit 76a8cc9
1 file changed
+28
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1084 | 1084 | | |
1085 | 1085 | | |
1086 | 1086 | | |
1087 | | - | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
1088 | 1097 | | |
1089 | 1098 | | |
1090 | 1099 | | |
| |||
1097 | 1106 | | |
1098 | 1107 | | |
1099 | 1108 | | |
1100 | | - | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
1101 | 1119 | | |
1102 | 1120 | | |
1103 | 1121 | | |
1104 | 1122 | | |
1105 | | - | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
1106 | 1131 | | |
1107 | 1132 | | |
1108 | 1133 | | |
| |||
0 commit comments