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_L.out | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test_L.out') diff --git a/tests/test_L.out b/tests/test_L.out index 36087e8..f9ded0a 100644 --- a/tests/test_L.out +++ b/tests/test_L.out @@ -4,6 +4,7 @@ links/b links/c links/d links/h +links/j links/d/e links/h/f links/h/g -- cgit v1.2.3