mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-12 23:08:17 +02:00
Add a comment.
This commit is contained in:
@@ -889,6 +889,10 @@ remove_cwd_entries (Dirstack_state *ds, char **subdir, struct stat *subdir_sb,
|
||||
error (EXIT_FAILURE, errno, _("cannot lstat %s"),
|
||||
quote (full_filename (f)));
|
||||
|
||||
/* FIXME: here (if F is a command line argument) is at least one
|
||||
place in which we'll have to compare the dev/ino against those
|
||||
of `/', in implementing fail-to-remove-root-dir semantics. */
|
||||
|
||||
if (chdir (f))
|
||||
{
|
||||
/* It is much more common that we reach this point for an
|
||||
|
||||
Reference in New Issue
Block a user