Closed
Bug 8503
Opened 25 years ago
Closed 25 years ago
[PP]Can't run apprunner in Mac if directory has "/" in it
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
RESOLVED
FIXED
M10
People
(Reporter: paulmac, Assigned: dveditz)
Details
If you change the seamonkey folder name (such netscape5-mac-M7) to include a forward slash (such as 'seamonkey6/18') then apprunner will not run. Removing the forward slash and you can run again. I'm guessing it is a registry problem. The forward slash is a legal character in MacOS, apparently, as I'm allowed to enter it when changing the directory name.
Updated•25 years ago
|
Severity: normal → major
Status: NEW → ASSIGNED
Target Milestone: M8
Comment 1•25 years ago
|
||
This is a known bug. I have a fix on hand. Since it was a api change, we are checking it into M8.
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 2•25 years ago
|
||
This one should be fixed with xpcom using nsIFileSpec.
Summary: Can't run apprunner in Mac if directory has "/" in it → [PP]Can't run apprunner in Mac if directory has "/" in it
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Reporter | ||
Comment 3•25 years ago
|
||
Same behavior with 6/23 builds. Re-opening.
Updated•25 years ago
|
Status: REOPENED → ASSIGNED
Updated•25 years ago
|
Resolution: FIXED → ---
Comment 4•25 years ago
|
||
Could you describe behaviour.
Reporter | ||
Comment 5•25 years ago
|
||
Sure. Double-click on apprunner. App begins to launch, then quits after 2-3 seconds. No crash, just doesn't do anything. Take forward slash out of folder name and apprunner starts up no problem.
Reporter | ||
Comment 6•25 years ago
|
||
This is still failing on 7/8 builds. I will release note it, assuming it will not be fixed more M8.
Updated•25 years ago
|
Target Milestone: M8 → M9
Comment 7•25 years ago
|
||
Yes paul. Moving to m9.
Assignee | ||
Comment 8•25 years ago
|
||
dp, is this something I should be looking into?
Updated•25 years ago
|
Assignee: dp → dveditz
Status: ASSIGNED → NEW
Comment 9•25 years ago
|
||
Yes. I just talked to simon and he says that the first instance of fail is the PR_OpenFile() that libreg does. I dont know how you are going to solve this. Is using filespec an option for libreg. I didn't think so. Anyway I will let you figure it out.
Assignee | ||
Comment 10•25 years ago
|
||
Actually that would be pretty easy -- originally the registry used stdio calls to open the registry, taking purely native paths not the pseudo-cross-platform-not-really NSPR paths. Those calls are all in working #ifdefs because we build libreg "standalone" (without NSPR) for the 4.x installs. McMullen switched libreg to nspr because it supposedly ran faster, but "working" is better than not-working faster. If I add the buffering maybe that would make up for it.
Updated•25 years ago
|
Target Milestone: M9 → M10
Comment 11•25 years ago
|
||
dveditz just started looking at this. moving to m10.
Reporter | ||
Comment 12•25 years ago
|
||
this causes a crash in M9 milestone builds, FWIW
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 13•25 years ago
|
||
The registry code now uses native pathnames, avoiding slash confusion.
You need to log in
before you can comment on or make changes to this bug.
Description
•