From 1f13006e36dec7d2616de61ae707b7c7089c2846 Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Fri, 14 Apr 2017 18:27:06 -0500 Subject: Added dir navigation without needing parent entries This should be the last step to removing the need for parent entries. Parent entries cause all sort of problems with atomic directory updates, especially related to moving/deleting directories. I couldn't figure out a parser for '..' entries without, O(n^2) runtime, a stack, or modifying the path itself. Since the goal is constant memory consumption, I went with the O(n^2) runtime solution, but this may need to be optimized later. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1c94a8f..93ba9bb 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ size: $(OBJ) $(SIZE) -t $^ .SUFFIXES: -test: test_format test_dirs test_files test_alloc test_orphan +test: test_format test_dirs test_files test_alloc test_orphan test_paths test_%: tests/test_%.sh ./$< -- cgit v1.2.3