]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(cycle_check): New function containing code factored
authorJim Meyering <jim@meyering.net>
Sat, 27 Apr 2002 06:33:08 +0000 (06:33 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 27 Apr 2002 06:33:08 +0000 (06:33 +0000)
commita6050a72917ca39ded1e6075675d18585c469228
tree48d8d11c98dc894ea81d5b8fbd3fb60a70db5aed
parentd1cf3257391de5edfb294a0d13c255cc222af3b3
(cycle_check): New function containing code factored
out of remove_dir.  The sole difference is that upon detecting a
cycle, rm now dies unconditionally.  Before, in interactive mode,
it would ask the user whether to continue.
(remove_dir): Call cycle_check.
src/remove.c