Closed Bug 169564 Opened 23 years ago Closed 23 years ago

config/nsinstall.c doesn't support dirs ending with forward slash

Categories

(SeaMonkey :: Build Config, defect)

x86
OS/2
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.2beta

People

(Reporter: jhpedemonte, Assigned: netscape)

Details

Attachments

(1 file)

On OS/2, the stat() function doesn't like it if the pathname ends in a forward slash (or backslash). Need to add OS/2 specific code to remove the trailing slash.
Attached patch patchSplinter Review
Remove trailing slash from "todir" before calling stat(). Also, take the windows route of using an external nsinstall.exe (our nsinstall.exe is based on config/nsinstall.c).
Patch has been checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.2beta
Don't you want: todir[strlen(todir)-1] = '\0'; instead of: todir[strlen(todir)-1] = '/0';
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: