Closed Bug 1185612 Opened 9 years ago Closed 9 years ago

isatty() on closed file handle raises ValueError

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set
normal

Tracking

(firefox42 fixed)

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: gps, Assigned: gps)

Details

Attachments

(1 file)

bholley got this from mach_bootstrap.py.
Setting I_PREFER_A_SUBOPTIMAL_MERCURIAL_EXPERIENCE=1 works as a workaround.
Bug 1185612 - Detect closed stdin file descriptor; r?bholley

isatty() raises ValueError if the file descriptor is closed. Detect
closed file descriptors.
Attachment #8636123 - Flags: review?(bobbyholley)
Attachment #8636123 - Flags: review?(bobbyholley) → review+
Comment on attachment 8636123 [details]
MozReview Request: Bug 1185612 - Detect closed stdin file descriptor; r?bholley

https://reviewboard.mozilla.org/r/13635/#review12255

r=me.
url:        https://hg.mozilla.org/integration/mozilla-inbound/rev/1e41cdab4b8e8fef9a5b0d8d84a6b66d194d0c52
changeset:  1e41cdab4b8e8fef9a5b0d8d84a6b66d194d0c52
user:       Gregory Szorc <gps@mozilla.com>
date:       Mon Jul 20 11:17:00 2015 -0700
description:
Bug 1185612 - Detect closed stdin file descriptor; r=bholley

isatty() raises ValueError if the file descriptor is closed. Detect
closed file descriptors.
https://hg.mozilla.org/mozilla-central/rev/1e41cdab4b8e
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: