$ ls /proc/$$/fd | wc -l 4 $ . / bash: .: /: is a directory $ ls /proc/$$/fd | wc -l 5 $ . / bash: .: /: is a directory $ ls /proc/$$/fd | wc -l 6 While trying to source a dir doesn't make much sense, I think bash shouldn't leak a fd on each try.
Thanks for the report
There are several missing fclose() calls in _evalfile() in evalfile.c
bash-4.2.39-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/bash-4.2.39-3.fc17
bash-4.2.42-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/bash-4.2.42-2.fc18
Package bash-4.2.42-2.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing bash-4.2.42-2.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1773/bash-4.2.42-2.fc18 then log in and leave karma (feedback).
*** Bug 903540 has been marked as a duplicate of this bug. ***
bash-4.2.45-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/bash-4.2.45-1.fc18
bash-4.2.45-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
bash-4.2.39-3.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.