Skip to content

Instantly share code, notes, and snippets.

@eam
Created July 12, 2017 14:59
Show Gist options
  • Select an option

  • Save eam/ba81381082c8a6bc44bf76c1c9dabd4c to your computer and use it in GitHub Desktop.

Select an option

Save eam/ba81381082c8a6bc44bf76c1c9dabd4c to your computer and use it in GitHub Desktop.
fd = rb_sysopen_internal(&data);
if (fd < 0) {
if (errno == EMFILE || errno == ENFILE) {
rb_gc();
fd = rb_sysopen_internal(&data);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment