From: Jim Meyering Date: Wed, 22 Sep 2004 20:13:09 +0000 (+0000) Subject: (struct dirstack_state) [current_arg_jumpbuf]: Improve the comment. X-Git-Tag: v5.3.0~629 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e04de0ce8ed1fde2a4d5d1f88718889f4331d36f;p=thirdparty%2Fcoreutils.git (struct dirstack_state) [current_arg_jumpbuf]: Improve the comment. --- 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;