~eadwardus/ecore

de01d7b74744943fcd8e2b4456b9580453d9ec4a — Eduardo Francisco 3 months ago 24489a1 v0.8.0
Fix ls for dotfiles as arguments
1 files changed, 2 insertions(+), 2 deletions(-)

M src/ls.c
M src/ls.c => src/ls.c +2 -2
@@ 636,8 636,8 @@ main(int argc, char **argv)
		case C_FSD:
			if ((!(opts & RRFLAG) &&
			    ((opts & DFLAG) || p->depth)) ||
			    (p->name[0] == '.' && p->name[1] &&
			    !(opts & AFLAG))) {
			    (p->depth && (p->name[0] == '.' && p->name[1] &&
			    !(opts & AFLAG)))) {
				c_dir_set(&dir, p, C_FSSKP);
				continue;
			}