diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-12-17 21:01:15 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-12-23 07:50:16 +0000 |
commit | b282640c5353f37b706d3395718e80db244644b2 (patch) | |
tree | b1597238381caf5da2afeef5d5ea4e4420a4543b /user/node/pmmx-test.patch | |
parent | 8eeedd9a4a604c198ea266cb4f0f07897a595fec (diff) | |
download | packages-b282640c5353f37b706d3395718e80db244644b2.tar.gz packages-b282640c5353f37b706d3395718e80db244644b2.tar.bz2 packages-b282640c5353f37b706d3395718e80db244644b2.tar.xz packages-b282640c5353f37b706d3395718e80db244644b2.zip |
user/node: Update to 16.19.0; fix test, NULL deref
* The worker-stdio test no longer raises RangeError on 32-bit Intel.
* The sigint test is no longer flaky (backported from 18 branch).
* The C++ Environment handler no longer segfaults when /proc is
unmounted. (Submitted upstream.)
Fixes: #795
Diffstat (limited to 'user/node/pmmx-test.patch')
-rw-r--r-- | user/node/pmmx-test.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/user/node/pmmx-test.patch b/user/node/pmmx-test.patch new file mode 100644 index 000000000..aad874a90 --- /dev/null +++ b/user/node/pmmx-test.patch @@ -0,0 +1,16 @@ +The pmmx Node binary is too large to read entirely into js memory. + +Issue: #795 +See-Also: https://bugzilla.opensuse.org/show_bug.cgi?id=1183155 + +--- node-v16.15.0/test/parallel/test-worker-stdio.js.old 2022-04-26 22:03:31.000000000 +0000 ++++ node-v16.15.0/test/parallel/test-worker-stdio.js 2022-12-17 23:44:49.604182229 +0000 +@@ -27,7 +27,7 @@ + const passed = new BufferingWritable(); + + const w = new Worker(__filename, { stdin: true, stdout: true }); +- const source = fs.createReadStream(process.execPath); ++ const source = fs.createReadStream(process.execPath, { end: 1048576 }); + source.pipe(w.stdin); + source.pipe(original); + w.stdout.pipe(passed); |