]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Add a comment.
authorJim Meyering <jim@meyering.net>
Mon, 8 Sep 2003 06:08:13 +0000 (06:08 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 8 Sep 2003 06:08:13 +0000 (06:08 +0000)
src/remove.c

index 387a27bd3f821c4d1349a839ef39b630ad3f5e42..0e0a970f2e64cd8a80af942bb65a8385f88cfbfd 100644 (file)
@@ -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