From: Jim Meyering Date: Tue, 7 Jan 2003 16:06:56 +0000 (+0000) Subject: add a comment X-Git-Tag: v4.5.5~309 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ef6e79882ef1a020060b66f85e60fd196932d6f;p=thirdparty%2Fcoreutils.git add a comment --- diff --git a/src/remove.c b/src/remove.c index ffa7ab21c1..c4822ea151 100644 --- a/src/remove.c +++ b/src/remove.c @@ -1101,6 +1101,8 @@ rm (size_t n_files, char const *const *file, struct rm_options const *x) { enum RM_status s; cycle_check_init (&ds->cycle_check_state); + /* Arrange to fail, give up on this FILE, but continue on with + any other arguments, in case rm_1 detects a directory cycle. */ if (setjmp (ds->current_arg_jumpbuf)) s = RM_ERROR; else