--- - branch: netbsd-7 date: Tue Apr 14 05:21:26 UTC 2015 files: - new: 1.38.20.1 old: '1.38' path: src/lib/libc/gen/opendir.c pathrev: src/lib/libc/gen/opendir.c@1.38.20.1 type: modified id: 20150414T052126Z.22b04dfef98679cb0eacdd6ab278eed98c67c779 log: "Pull up following revision(s) (requested by christos in ticket #691):\n\tlib/libc/gen/opendir.c: revision 1.39\n- Use O_DIRECTORY to open the file, so that we don't need to stat() after\n that.\n- Move the stat() call to fdopendir() and change it's error handling so that\n it does not hide errors.\n- According to POSIX, fdopendir() transfers ownership of the fd only on\n success, so don't close it on failure. XXX: We still make it non-blocking\n on failure, but that's nitpicking.\n" module: src subject: 'CVS commit: [netbsd-7] src/lib/libc/gen' unixtime: '1428988886' user: snj