fixed opendir closed by fclose instead of closedir (closes #3880)
fixed opendir closed by fclose instead of closedir (closes #3880)

git-svn-id: 7038a89b398528086dab5106cc8d05243a854dbc@10059 ee427ae8-e902-0410-961c-c3ed070cd9f9

theodo/symfony1.1-backports,theodo/symfony1.1-backports,theodo/symfony1.1-backports