[MacRuby/MacRuby] 9c7aaa: retry system calls when return errno of ENFILE
Branch: refs/heads/master Home: https://github.com/MacRuby/MacRuby Commit: 9c7aaab5da6abfa367b1df0d93c7ba9813b811be https://github.com/MacRuby/MacRuby/commit/9c7aaab5da6abfa367b1df0d93c7ba9813... Author: Watson <watson1978@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/08b058cbcaf56302072e5ba2a057a629e2... Author: Watson <watson1978@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/8877dbc585ebd8a518dcf60c5cc755f396... Author: Watson <watson1978@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
participants (1)
-
GitHub