mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 819601 - Don't redeclare formal. r=Yoric
This commit is contained in:
parent
32d3cce20f
commit
b9a862e1d6
@ -426,7 +426,7 @@
|
|||||||
|
|
||||||
// An implementation of |pump| using |read|/|write|
|
// An implementation of |pump| using |read|/|write|
|
||||||
let pump_userland = function pump_userland(source, dest, options) {
|
let pump_userland = function pump_userland(source, dest, options) {
|
||||||
let options = options || noOptions;
|
options = options || noOptions;
|
||||||
let bufSize = options.bufSize || 4096;
|
let bufSize = options.bufSize || 4096;
|
||||||
let nbytes = options.nbytes || Infinity;
|
let nbytes = options.nbytes || Infinity;
|
||||||
if (!pump_buffer || pump_buffer.length < bufSize) {
|
if (!pump_buffer || pump_buffer.length < bufSize) {
|
||||||
@ -463,7 +463,7 @@
|
|||||||
|
|
||||||
// An implementation of |pump| using |splice| (for Linux/Android)
|
// An implementation of |pump| using |splice| (for Linux/Android)
|
||||||
pump = function pump_splice(source, dest, options) {
|
pump = function pump_splice(source, dest, options) {
|
||||||
let options = options || noOptions;
|
options = options || noOptions;
|
||||||
let nbytes = options.nbytes || Infinity;
|
let nbytes = options.nbytes || Infinity;
|
||||||
let pipe = [];
|
let pipe = [];
|
||||||
throw_on_negative("pump", UnixFile.pipe(pipe));
|
throw_on_negative("pump", UnixFile.pipe(pipe));
|
||||||
|
Loading…
Reference in New Issue
Block a user