delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/22/08:07:33

From: bruceh AT ns1 DOT ieighty DOT net (Bruce N. Hunsaker)
Subject: rm bug and a fix
22 Jan 1998 08:07:33 -0800 :
Message-ID: <199801201845.LAA08872.cygnus.gnu-win32@ns1.ieighty.net>
To: gnu-win32 AT cygnus DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019