Commit c02a313
committed
Fix SC_OPEN_MAX/SC_STREAM_MAX RLIM_INFINITY check
Compare rlim.Cur to unix.RLIM_INFINITY for equality. The current check
can never be true since RLIM_INFINITY is the maximum value of the type.
This follows the implementation on FreeBSD which performs the same check
for equality.1 parent 9705845 commit c02a313
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments