From 2aa1f2d16babc2b2b468fa503b757adf8e87336c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 7 Jul 2004 15:54:54 +0000 Subject: [PATCH] *** empty log message *** --- lib/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/ChangeLog b/lib/ChangeLog index b3f1304..280ccbf 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,5 +1,16 @@ 2004-07-07 Jim Meyering + Don't infloop when MAXSYMLINKS is not defined. + Detect symlink loops much earlier (albeit lazily) on systems + with MAXSYMLINKS defined to a large value. + + * canonicalize.c: Include "cycle-check.h". + (canonicalize_filename_mode): Don't try to detect loops by counting + symlink-hops. Instead, use the cycle-check module. + + * cycle-check.h: Include stdbool.h. + Forward-declare `struct stat'. + * canonicalize.c (canonicalize_filename_mode): Remove do-while(0) loop. Replace each corresponding `break' stmt with `continue'. -- 2.7.4