Closed Bug 73615 Opened 24 years ago Closed 24 years ago

File name of .; confuses file browser

Categories

(Core :: XPCOM, defect)

DEC
OpenVMS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: colin, Assigned: colin)

Details

If you have a file with no name and no extension, eg: $ create dka0:[test].; ^Z then when you use a file URL such as file:///dka0/test to visit the directory where this file exists, Mozilla goes CPU bound and there is no way to stop it short of killing Mozilla.
Investigating.
Status: NEW → ASSIGNED
This is an inconsistency between stat() and open() in the CRTL that is causing this problem. DKA0:[USERS.CBLAKE] is a valid and existing directory, yet a call of stat("/dka0/users/cblake") is saying that this was NOT a directory. This is because inside DKA0:[USERS.CBLAKE] is a file named ".;" and so that stat call was returning information about this file instead of the directory. OK, we can live with that. But then when we try to open("/dka0/users/cblake"), expecting to open the file named ".;", it fails with ENOENT (No such file or directory). Surely stat and open should parse file specs in a consistent manner. I am discussing this with the CRTL folks. [debugged on OpenVMS V7.1-2]
Summary: File name of .; confused file browser → File name of .; confuses file browser
For any Compaq internal people, see DECC 3338. But the short answer is that this problem will get fixed in a future release of the C run time library.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
Component: XP Miscellany → XPCOM
You need to log in before you can comment on or make changes to this bug.