From 2328d8dbb5a8c774afb99d363b6e98cd25ee304d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 9 Jul 2017 16:35:38 -0400 Subject: Handle ENOTDIR the same as ENOENT For a/b/c, ENOTDIR is returned instead of ENOENT if a or b are not directories. Handle this uniformly when detecting broken symlinks, readdir races, etc. --- tests/test_colors.out | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test_colors.out') diff --git a/tests/test_colors.out b/tests/test_colors.out index a9ab84a..8c8b244 100644 --- a/tests/test_colors.out +++ b/tests/test_colors.out @@ -2,6 +2,7 @@ links/d links/b links/h +links/j links/a links/c links/d/e -- cgit v1.2.3