rm bug and a fix

Bruce N. Hunsaker bruceh@ns1.ieighty.net
Tue Jan 20 12:53:00 GMT 1998


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 - bruceh@ieighty.net
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list