OpenBSD CVS

CVS log for src/usr.bin/mg/dired.c


[BACK] Up to [local] / src / usr.bin / mg

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_5_3_BASE


Revision 1.52 / (download) - annotate - [select for diffs], Sat Nov 3 15:36:03 2012 UTC (11 years, 6 months ago) by haesbaert
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.51: +4 -3 lines
Diff to previous 1.51 (colored)

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.