Closed
Bug 422791
Opened 17 years ago
Closed 17 years ago
reduce narrow windows API calls in uriloader
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: blassey, Assigned: crowderbt)
References
Details
Attachments
(2 files, 1 obsolete file)
|
4.05 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
|
2.08 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #309236 -
Flags: review?(benjamin)
Comment 1•17 years ago
|
||
Comment on attachment 309236 [details] [diff] [review]
directy from "other" patch on bug 418703
Please re-indent parameters correctly
Attachment #309236 -
Flags: review?(benjamin) → review+
Comment 2•17 years ago
|
||
It looks like sizeof(SHELLEXECUTEINFO) should be replaced also by sizeof(SHELLEXECUTEINFOW) :
+ static const PRUnichar cmdVerb[] = L"open";
+ SHELLEXECUTEINFOW sinfo;
memset(&sinfo, 0, sizeof(SHELLEXECUTEINFO));
sinfo.cbSize = sizeof(SHELLEXECUTEINFO);
| Reporter | ||
Comment 3•17 years ago
|
||
Yes, it probably should be SHELLEXECUTEINFOW. Although, as it turns out, the structs are the same size since the strings are all pointers.
Good catch
| Assignee | ||
Comment 4•17 years ago
|
||
We can save ourselves from bugs like this in the future, by just using sizeof with the thing we want the sizeof, rather than trying to guess type. I fixed some spacing and casts, also.
Assignee: blassey → crowder
Attachment #328447 -
Attachment is obsolete: true
Attachment #328447 -
Flags: review?
| Assignee | ||
Updated•17 years ago
|
Attachment #332999 -
Flags: review?(benjamin)
Updated•17 years ago
|
Attachment #332999 -
Flags: review?(benjamin) → review+
| Assignee | ||
Comment 5•17 years ago
|
||
changeset: 16690:f93ede48881a
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•