summaryrefslogtreecommitdiff
path: root/src/remove.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-27 06:46:18 +0000
committerJim Meyering <jim@meyering.net>2002-04-27 06:46:18 +0000
commit8a2075ba7db3c7906893e781f0628a37754bb3c8 (patch)
tree6a7be5c3d927e58598f24df5af0fa22d565ea442 /src/remove.c
parenta6050a72917ca39ded1e6075675d18585c469228 (diff)
downloadcoreutils-8a2075ba7db3c7906893e781f0628a37754bb3c8.tar.xz
(cycle_check): Add a comment.
Diffstat (limited to 'src/remove.c')
-rw-r--r--src/remove.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/remove.c b/src/remove.c
index ab1a3e876..e91fa8b7f 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)
{