summaryrefslogtreecommitdiff
path: root/src/remove.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-09-22 20:13:09 +0000
committerJim Meyering <jim@meyering.net>2004-09-22 20:13:09 +0000
commite04de0ce8ed1fde2a4d5d1f88718889f4331d36f (patch)
tree70590c3b4fb7d01f5176d66bed9532de0211325b /src/remove.c
parente1f8edcb7bbc81de2933dba39193dfffea8cc4cd (diff)
downloadcoreutils-e04de0ce8ed1fde2a4d5d1f88718889f4331d36f.tar.xz
(struct dirstack_state) [current_arg_jumpbuf]: Improve the comment.
Diffstat (limited to 'src/remove.c')
-rw-r--r--src/remove.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/remove.c b/src/remove.c
index 637ff59e9..c1a3c8f02 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;