Close the file descriptor in has_yaml_header? #2310

Merged
merged 1 commit into from May 6, 2014

Conversation

Projects
None yet
2 participants
Owner

parkr commented May 6, 2014

Previous method caused a problem where the calling Dir.chdir to get the next
directory's entries would cause the infamous 'Too many open files - getcwd'
error. Fixes #2279.

Close the file descriptor in has_yaml_header?
Previous method caused a problem where the calling Dir.chdir to get the next
directory's entries would cause the infamous 'Too many open files - getcwd'
error. Fixes #2279.

@parkr parkr merged commit 875718f into master May 6, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

@parkr parkr deleted the fix-get-cwd-error branch May 6, 2014

parkr added a commit that referenced this pull request May 6, 2014

@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.