Subject: rm bug and a fix
From: [email-masked] (Bruce N. Hunsaker)

22 Jan 1998 08:07:33 -0800
Message-ID: <[email-masked]>
Content-Type: text
To: [email-masked]

This has been reported before, but not for a while, and
I have a fix.

To duplicate this problem:
	$ mkdir test1
	$ cd test1
	$ mkdir a1
	$ cd a1
	$ touch a1
	$ cd ../..
	$ rm -rf test1
	rm: WARNING: Circular directory structure.
	This almost certainly means that you have a corrupted file system.
	NOTIFY YOUR SYSTEM MANAGER.
	Cycle detected:
	test1/a1/a1
	is the same file as
	test1

The fix I implemented, was to add
	#undef D_INO_IN_DIRENT
after the #includes in rm.c

This should give a good clue as to what the real problem is
here.

--
Bruce Hunsaker - [email-masked]
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".