Closed
Bug 181324
Opened 23 years ago
Closed 21 years ago
jsfile.c buggy on Windows
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 132949
mozilla1.3alpha
People
(Reporter: brendan, Assigned: mturk)
References
()
Details
(Keywords: js1.5)
Attachments
(1 file)
|
3.12 KB,
patch
|
Details | Diff | Splinter Review |
Patch from Mladen Turk <mturk@apache.org> coming up.
/be
| Reporter | ||
Comment 1•23 years ago
|
||
| Reporter | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Keywords: js1.5,
mozilla1.3
Priority: -- → P3
Target Milestone: --- → mozilla1.3alpha
Comment on attachment 107046 [details] [diff] [review]
Mladen's patch
- if (*tmp) {
+ if (strlen(tmp)>0) {
unless jsengine really likes wasting cycles, please don't do this.
we just landed a patch to remove useless operations like it.
In fact, you can change:
if ((strlen(pathname)>=2)&&(pathname[1]==':')) {
to
if (pathname[0] && pathname[1]==':' && pathname[2])
| Reporter | ||
Comment 3•23 years ago
|
||
Mladen, I hope you're willing to take this bug and address comment #2. If not,
timeless or I will get to it, but it's not as high priorty for us as for you,
I'm sure. I'll check the patch in when it's ready.
/be
Assignee: brendan → mturk
Status: ASSIGNED → NEW
Comment 4•23 years ago
|
||
Also note bug 132949,
"Uninitialized pointer used in function call in jsfile.c"
That has a proposed patch from davidmaynor@hotmail.com.
Updated•21 years ago
|
QA Contact: pschwartau → general
Comment 5•21 years ago
|
||
Marking as a DUPE of a bug with a much more comprehensive patch.
*** This bug has been marked as a duplicate of 132949 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•