[macruby-changes] [MacRuby/MacRuby] 9c7aaa: retry system calls when return errno of ENFILE

GitHub noreply at github.com
Wed Feb 15 23:53:34 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/MacRuby/MacRuby
  Commit: 9c7aaab5da6abfa367b1df0d93c7ba9813b811be
      https://github.com/MacRuby/MacRuby/commit/9c7aaab5da6abfa367b1df0d93c7ba9813b811be
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-02-15 (Wed, 15 Feb 2012)

  Changed paths:
    M io.c

  Log Message:
  -----------
  retry system calls when return errno of ENFILE


  Commit: 08b058cbcaf56302072e5ba2a057a629e24a9292
      https://github.com/MacRuby/MacRuby/commit/08b058cbcaf56302072e5ba2a057a629e24a9292
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-02-15 (Wed, 15 Feb 2012)

  Changed paths:
    M io.c

  Log Message:
  -----------
  retry to duplicate descriptor when dup() returns the error of {EMFILE, ENFILE}


  Commit: 8877dbc585ebd8a518dcf60c5cc755f39647cadf
      https://github.com/MacRuby/MacRuby/commit/8877dbc585ebd8a518dcf60c5cc755f39647cadf
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-02-15 (Wed, 15 Feb 2012)

  Changed paths:
    M io.c

  Log Message:
  -----------
  use open_internal() instead of open() to retry open descriptor in IO#reopen


Compare: https://github.com/MacRuby/MacRuby/compare/c5fc3ae...8877dbc


More information about the macruby-changes mailing list