This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

rm bug and a fix


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]