From e04de0ce8ed1fde2a4d5d1f88718889f4331d36f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 22 Sep 2004 20:13:09 +0000 Subject: [PATCH] (struct dirstack_state) [current_arg_jumpbuf]: Improve the comment. --- src/remove.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/remove.c b/src/remove.c index 637ff59e96..c1a3c8f026 100644 --- a/src/remove.c +++ b/src/remove.c @@ -140,7 +140,11 @@ struct dirstack_state /* Used to detect cycles. */ struct cycle_check_state cycle_check_state; - /* Target of a longjmp in case rm detects a directory cycle. */ + /* Target of a longjmp in case rm has to stop processing the current + command-line argument. This happens 1) when rm detects a directory + cycle or 2) when it has processed one or more directories, but then + is unable to return to the initial working directory to process + additional `.'-relative command-line arguments. */ jmp_buf current_arg_jumpbuf; }; typedef struct dirstack_state Dirstack_state; -- 2.47.2