From: Jim Meyering Date: Sat, 27 Apr 2002 06:46:18 +0000 (+0000) Subject: (cycle_check): Add a comment. X-Git-Tag: SH-UTILS-2_0_12~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a2075ba7db3c7906893e781f0628a37754bb3c8;p=thirdparty%2Fcoreutils.git (cycle_check): Add a comment. --- diff --git a/src/remove.c b/src/remove.c index ab1a3e8765..e91fa8b7f1 100644 --- a/src/remove.c +++ b/src/remove.c @@ -577,6 +577,8 @@ is_power_of_two (unsigned int i) return (i & (i - 1)) == 0; } +/* Test whether the current dev/ino (from SB) is the same as the saved one. + Periodically squirrel away the dev/ino of a current directory. */ static void cycle_check (struct stat const *sb) {