Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update src/mono/mono/mini/driver.c
Co-authored-by: Alexander Köplinger <[email protected]>
  • Loading branch information
uweigand and akoeplinger committed Feb 28, 2023
commit 0c355fcbd5997671dfb42b68d6528499baeaf066
2 changes: 1 addition & 1 deletion src/mono/mono/mini/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1919,7 +1919,7 @@ increase_descriptor_limit (void)
// Set our soft limit for file descriptors to be the same
// as the max limit.
limit.rlim_cur = limit.rlim_max;
#ifdef TARGET_OSX
#ifdef __APPLE__
// Based on compatibility note in setrlimit(2) manpage for OSX,
// trim the limit to OPEN_MAX.
if (limit.rlim_cur > OPEN_MAX)
Expand Down