Closed
Bug 770702
Opened 12 years ago
Closed 12 years ago
pymake native nsinstall should sys.exit and not return
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: rain1, Assigned: rain1)
References
Details
Attachments
(1 obsolete file)
Per IRC discussion, pymake eats up return values for native commands.
Attachment #638885 -
Flags: review?(gps)
Comment 1•12 years ago
|
||
Comment on attachment 638885 [details] [diff] [review]
patch
I'm not a build peer, so this isn't an official r+.
The change is trivial, it appears. Just as long as nsinstall() isn't being called from "not pymake" this should be good.
Attachment #638885 -
Flags: review?(gps) → review+
Comment 2•12 years ago
|
||
We could also fix pymake.
Comment 3•12 years ago
|
||
(In reply to Ted Mielczarek [:ted] from comment #2)
> We could also fix pymake.
We discussed this heavily on IRC.
Basically, what do you change it to? You can't accept everything because you need a way to convert that to a status code. Is None success or failure? What if you return an object?
I think we decided that a compromise of converting a returned int into a status code is acceptable. If it is anything else, we preserve the existing behavior of assuming success.
Comment 4•12 years ago
|
||
Accepting integer return values as status codes sounds pretty sensible. We could probably try to handle other return types, but that doesn't seem really worthwhile.
Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 638885 [details] [diff] [review]
patch
We realized on IRC that this patch is wrong anyway.
Attachment #638885 -
Attachment is obsolete: true
Assignee | ||
Comment 6•12 years ago
|
||
I think we're going to fix bug 772186 instead.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•