So the difference in observable behavior is we start detecting uninit in the opendir() argument? Why is this freebsd-specific? Also, there should be a test. http://reviews.llvm.org/D6968 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/