Closed
Bug 307526
Opened 19 years ago
Closed 19 years ago
should be possible to use xpcshell from cygwin apps, including cygwin xemacs
Categories
(Core :: XPConnect, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: dmosedale, Assigned: mrbkap)
Details
Attachments
(1 file, 4 obsolete files)
13.90 KB,
patch
|
dmosedale
:
review+
brendan
:
superreview+
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•19 years ago
|
||
The problem here is that isatty() returns no when handed a cygwin pipe. This patch adds a -t switch. This switch behaves identically to -f, except that isatty() is assumed to be true for any files specified this way. So now specifying "-f file1 -f file2 -t -" allows for mixed constructs.
Attachment #195287 -
Flags: superreview?(shaver)
Attachment #195287 -
Flags: review?(mrbkap)
Assignee | ||
Comment 2•19 years ago
|
||
Dan, this is closer to what I was talking about. I think that - should just signal us to force tty.
Reporter | ||
Comment 3•19 years ago
|
||
Comment on attachment 195287 [details] [diff] [review] add -t switch to xpcshell Blake is consing up a new patch.
Attachment #195287 -
Flags: superreview?(shaver)
Attachment #195287 -
Flags: review?(mrbkap)
Assignee | ||
Comment 4•19 years ago
|
||
Try this one on for size.
Assignee: dmose → mrbkap
Attachment #195287 -
Attachment is obsolete: true
Attachment #195295 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Reporter | ||
Comment 5•19 years ago
|
||
This seems to make "xpcshell -i" work correctly. I haven't tested without the -i. JS shell may need an analogous fix.
Attachment #195349 -
Attachment is obsolete: true
Assignee | ||
Comment 6•19 years ago
|
||
Comment on attachment 195828 [details] [diff] [review] -i patch, v2 If you pass a filename and -i it looks like we'll leak the file that we open. Altnernative in a bit.
Attachment #195828 -
Flags: review-
Assignee | ||
Updated•19 years ago
|
Priority: -- → P3
Target Milestone: --- → mozilla1.9alpha
Assignee | ||
Comment 7•19 years ago
|
||
This simply disallows using -i and a filename. Easier on all. Also the #if 0 stuff is wrong in the oom case, so we should remove it.
Attachment #195828 -
Attachment is obsolete: true
Attachment #202575 -
Flags: superreview?(brendan)
Attachment #202575 -
Flags: review?(dmose)
Comment 8•19 years ago
|
||
Comment on attachment 202575 [details] [diff] [review] Don't allow -i script.js >+ case 'i': >+ forceTTY = JS_TRUE; >+ isInteractive = JS_TRUE; Chain these assignments, and sr=me contingent on dmose's r+. /be
Attachment #202575 -
Flags: superreview?(brendan) → superreview+
Reporter | ||
Comment 9•19 years ago
|
||
Comment on attachment 202575 [details] [diff] [review] Don't allow -i script.js r=dmose
Attachment #202575 -
Flags: review?(dmose) → review+
Assignee | ||
Comment 10•19 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•