1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/www/firefox/files/patch-bug1507655
Jan Beich 617c9323cd www/firefox: update to 64.0
Changes:	https://www.mozilla.org/firefox/64.0/releasenotes/
PR:		233028
Security:	d10b49b2-8d02-49e8-afde-0844626317af
MFH:		2018Q4
Differential Revision:	https://reviews.freebsd.org/D17871
2018-12-04 00:54:38 +00:00

30 lines
1.2 KiB
Plaintext

Revert bug 1497976 as close_fds on Python 2 is too slow
diff --git build/moz.configure/util.configure build/moz.configure/util.configure
index 25862fee7c32..3fc725a5124e 100644
--- build/moz.configure/util.configure
+++ build/moz.configure/util.configure
@@ -22,7 +22,6 @@
# A wrapper to obtain a process' output and return code.
# Returns a tuple (retcode, stdout, stderr).
-@imports('os')
@imports(_from='__builtin__', _import='unicode')
@imports('subprocess')
@imports(_from='mozbuild.shellutil', _import='quote')
@@ -45,13 +44,7 @@
log.debug('Executing: `%s`', quote(*args))
proc = subprocess.Popen(args, stdout=subprocess.PIPE,
- stderr=subprocess.PIPE,
- # On Python 2 on Windows, close_fds prevents the
- # process from inheriting stdout/stderr.
- # Elsewhere, it simply prevents it from inheriting
- # extra file descriptors, which is what we want.
- close_fds=os.name != 'nt',
- **kwargs)
+ stderr=subprocess.PIPE, **kwargs)
stdout, stderr = proc.communicate()
return proc.wait(), stdout, stderr