CVSROOT:        /cvs
Module name:    src
Changes by:     haesba...@cvs.openbsd.org       2012/11/03 09:36:03

Modified files:
        usr.bin/mg     : dired.c 

Log message:
Don't leak a file descriptor when testing for permissions, also make
sure directory is executable, otherwise we can't list it.

Found by and original diff from RustyBSD.

While here, strlen returns a size_t not an int.

ok florian.

Reply via email to