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)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.2beta
People
(Reporter: jhpedemonte, Assigned: netscape)
Details
Attachments
(1 file)
|
1.94 KB,
patch
|
netscape
:
review+
|
Details | Diff | Splinter Review |
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.
| Reporter | ||
Comment 1•23 years ago
|
||
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).
| Assignee | ||
Comment 2•23 years ago
|
||
Comment on attachment 99752 [details] [diff] [review]
patch
r=cls
Attachment #99752 -
Flags: review+
| Assignee | ||
Comment 3•23 years ago
|
||
Patch has been checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.2beta
Comment 4•23 years ago
|
||
Don't you want:
todir[strlen(todir)-1] = '\0';
instead of:
todir[strlen(todir)-1] = '/0';
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•