projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6050a7
)
(cycle_check): Add a comment.
author
Jim Meyering
<jim@meyering.net>
Sat, 27 Apr 2002 06:46:18 +0000
(06:46 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 27 Apr 2002 06:46:18 +0000
(06:46 +0000)
src/remove.c
patch
|
blob
|
history
diff --git
a/src/remove.c
b/src/remove.c
index
ab1a3e8
..
e91fa8b
100644
(file)
--- 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)
{