View | Details | Raw Unified | Return to bug 28274
Collapse All | Expand All

(-)file.c (-1 / +1 lines)
Lines 48-54 Link Here
48
48
49
    if (lstat(fname, &sb) != FAIL && S_ISDIR(sb.st_mode))
49
    if (lstat(fname, &sb) != FAIL && S_ISDIR(sb.st_mode))
50
	return TRUE;
50
	return TRUE;
51
    else if (lstat(strconcat(fname, "/"), &sb) != FAIL && S_ISDIR(sb.st_mode))
51
    else if (lstat(strconcat(fname, "/."), &sb) != FAIL && S_ISDIR(sb.st_mode))
52
	return TRUE;
52
	return TRUE;
53
    else
53
    else
54
	return FALSE;
54
	return FALSE;

Return to bug 28274