1
0
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:
Jim Meyering
2003-09-08 06:08:13 +00:00
parent d637d9d5b2
commit f0a5c8d223

View 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