]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(cycle_check): Add a comment.
authorJim Meyering <jim@meyering.net>
Sat, 27 Apr 2002 06:46:18 +0000 (06:46 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 27 Apr 2002 06:46:18 +0000 (06:46 +0000)
src/remove.c

index ab1a3e87659d4e7e1a2d0855b2df7ee7cacfac53..e91fa8b7f1c280a1422a99ea989a2e6f43eb4766 100644 (file)
@@ -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)
 {