repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
golang/go
d8e6ed32622b692c79a4db42e878921e1d3f16a8
b6d5831caa219aa00574fbacb1026585cf11d6b4
time: implement Compare method Fixes #50770. Change-Id: If0104883bb409ec85827fa5b570f68099ad4fd1d Reviewed-on: https://go-review.googlesource.com/c/go/+/382734 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: hopehook <hopehook@golangcn.org> Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Gopher ...
[ { "path": "api/next/50770.txt", "patch": "@@ -0,0 +1 @@\n+pkg time, method (Time) Compare(Time) int #50770", "additions": 1, "deletions": 0, "language": "Plain Text" }, { "path": "src/time/mono_test.go", "patch": "@@ -106,6 +106,12 @@ func TestMonotonicAdd(t *testing.T) {\n \tif !now...
2022-02-03T10:00:30
nodejs/node
b3f14df485d89ad7866573536fe07783e516a5ae
d85a9332508bbc39ddc011e9e5a1fd5f71a985bb
doc: fix Buffer.from(object) documentation Only strings are supported for objects supporting `Symbol.toPrimitive`. PR-URL: https://github.com/nodejs/node/pull/33327 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By...
[ { "path": "doc/api/buffer.md", "patch": "@@ -657,11 +657,8 @@ added: v8.2.0\n -->\n \n * `object` {Object} An object supporting `Symbol.toPrimitive` or `valueOf()`.\n-* `offsetOrEncoding` {integer|string} A byte-offset or encoding, depending on\n- the value returned either by `object.valueOf()` or\n- `obj...
2020-05-09T15:41:53
electron/electron
13e4582697e8df68c8271ac6c813e81ec20722a1
423dd4d57aebd8ba83b8a291d95618b71eb5b5e0
Emit autoUpdater error directly as Error object
[ { "path": "atom/browser/api/atom_api_auto_updater.cc", "patch": "@@ -7,6 +7,7 @@\n #include \"atom/browser/browser.h\"\n #include \"atom/browser/native_window.h\"\n #include \"atom/browser/window_list.h\"\n+#include \"atom/common/api/event_emitter_caller.h\"\n #include \"atom/common/native_mate_converters/c...
2017-04-21T22:13:43
vercel/next.js
298bbe54896a5c26fa23605d431c950914c9f7ed
6ac1367687aebeeec1530bc6d6528ac296ffc2db
fix async action queue behavior (#59038) ### What? When the router action queue receives a bunch of async actions in quick succession, some of those requests are dropped, and as a result, anything observing pending transitions will be stuck in a pending state. ### Why? When adding items to the action queue, the inten...
[ { "path": "packages/next/src/shared/lib/router/action-queue.ts", "patch": "@@ -67,7 +67,6 @@ async function runAction({\n }\n \n actionQueue.pending = action\n- actionQueue.last = action\n \n const payload = action.payload\n const actionResult = actionQueue.action(prevState, payload)\n@@ -142,6 +14...
2023-11-28T22:54:04
facebook/react
8db8e60a381ebe29cd477be6e593067efaa7c859
66291d27615127c3ab1c00c312bafa0d1a9cabb3
Don't fail Travis on sauce failures Fixes #1496.
[ { "path": ".travis.yml", "patch": "@@ -7,7 +7,7 @@ script:\n grunt $TEST_TYPE\n after_script:\n - |\n- if [ \"$TEST_TYPE\" = test:full ] && [ \"$SERVER\" ]; then\n+ if [ \"$TEST_TYPE\" = test ] && [ \"$SERVER\" ]; then\n grunt build\n curl \\\n -F \"react=@build/react.js\" \\\n...
2014-05-19T17:32:25
golang/go
b6d5831caa219aa00574fbacb1026585cf11d6b4
73c38f226e15e218411d87a05c878f087ad89455
debug/elf: validate shstrndx Changes: 1. When e_shstrndx holds the value SHN_UNDEF (0), the file has no section name string table. In this case, do not try to set section names . 2. e_shstrndx should point to an SHT_STRTAB section. If it does not, returns an error. Reference: https://refspecs.linuxfoundation.org/elf...
[ { "path": "src/debug/elf/file.go", "patch": "@@ -474,7 +474,16 @@ func NewFile(r io.ReaderAt) (*File, error) {\n \t}\n \n \t// Load section header string table.\n-\tshstrtab, err := f.Sections[shstrndx].Data()\n+\tif shstrndx == 0 {\n+\t\t// If the file has no section name string table,\n+\t\t// shstrndx ho...
2022-09-15T03:57:43
nodejs/node
d85a9332508bbc39ddc011e9e5a1fd5f71a985bb
8ddb6aa88694f4a5a2a05a46f66508c683b850d2
wasi,worker: handle termination exception Be careful when emitting the 'beforeExit' event. It's not allowed to call into the runtime when a termination exception is pending. Fixes: https://github.com/nodejs/node/issues/33377 PR-URL: https://github.com/nodejs/node/pull/33386 Reviewed-By: Colin Ihrig <cjihrig@gmail.co...
[ { "path": "src/api/hooks.cc", "patch": "@@ -37,11 +37,14 @@ void EmitBeforeExit(Environment* env) {\n \n HandleScope handle_scope(env->isolate());\n Context::Scope context_scope(env->context());\n- Local<Value> exit_code = env->process_object()\n- ->Get(env->context(), env...
2020-05-16T09:39:53
electron/electron
423dd4d57aebd8ba83b8a291d95618b71eb5b5e0
6c99d83b99bf85f577af09af1c32e5c375360c36
Add spec for remote autoUpdater error event
[ { "path": "spec/api-auto-updater-spec.js", "patch": "@@ -1,6 +1,6 @@\n const assert = require('assert')\n-const autoUpdater = require('electron').remote.autoUpdater\n-const ipcRenderer = require('electron').ipcRenderer\n+const {autoUpdater} = require('electron').remote\n+const {ipcRenderer} = require('elect...
2017-04-21T22:12:08
facebook/react
550795445e04a1b2c985ce2f58b125d0abe2817d
0c6bee049efb63585fb88c995de788cefc18b789
Use Object.prototype.hasOwnProperty for doc in IE8 Test Plan: Loaded ballmer-peak example in IE8 without errors and interacted with the text field.
[ { "path": "src/browser/ReactEventEmitter.js", "patch": "@@ -129,7 +129,9 @@ var topEventMapping = {\n var topListenersIDKey = \"_reactListenersID\" + String(Math.random()).slice(2);\n \n function getListeningForDocument(mountAt) {\n- if (!mountAt.hasOwnProperty(topListenersIDKey)) {\n+ // In IE8, `mountAt...
2014-05-19T18:42:37
golang/go
73c38f226e15e218411d87a05c878f087ad89455
0857633f8b4ca4b28aad160d1dd1dbb1fe5a4d7d
cmd/go: clear GOPATH from build context when importing from module In module mode, we shouldn't handle packages under GOPATH any differently from other packages. Clear GOPATH from the build context before Importing to ensure that. Fixes #37015. Change-Id: I0203e25013716bca346fd4a67d80f1d05bbaea77 Reviewed-on: https:...
[ { "path": "doc/go1.20.html", "patch": "@@ -47,6 +47,17 @@ <h3 id=\"go-command\">Go command</h3>\n TODO: <a href=\"https://go.dev/issue/45454\">https://go.dev/issue/45454</a>: provide build tags for architecture environment variables\n </p>\n \n+<p><!-- https://go.dev/issue/37015 -->\n+ When the main modu...
2022-06-15T18:24:12
vercel/next.js
118888565577de4b4d395dd929314c5114d4d7cb
e22279a66b63dd7ec5a38f3b1593f897f4508556
fix(ecmascript-runtime): relative url improvement + env setup (vercel/turbo#6520)
[ { "path": "crates/turbopack-dev/src/ecmascript/evaluate/chunk.rs", "patch": "@@ -145,6 +145,7 @@ impl EcmascriptDevEvaluateChunk {\n let runtime_code = turbopack_ecmascript_runtime::get_dev_runtime_code(\n environment,\n chunking_context.chunk_base_pat...
2023-11-28T18:59:50
nodejs/node
a3f47b111499416e5d164c5957af4f504a9e3c48
f25153333533e8d328374df658786239c4d4aff3
doc: fix typo in pathToFileURL example PR-URL: https://github.com/nodejs/node/pull/33418 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "doc/api/url.md", "patch": "@@ -999,8 +999,8 @@ pathToFileURL(__filename); // Correct: file:///C:/... (Windows)\n new URL('/foo#1', 'file:'); // Incorrect: file:///foo#1\n pathToFileURL('/foo#1'); // Correct: file:///foo%231 (POSIX)\n \n-new URL('/some/path%.js', 'f...
2020-05-15T08:26:20
golang/go
00bee6d9a4c3ed6168350fc6551043ff7a1895f2
638c9aad5f88f96d9aa525bbe403c8a5d3b743e8
cmd/compile/internal/typebits: relax alignment check Now we have 8-byte alignment types on 32-bit system, so in some rare case, e.g, generated wrapper for embedded interface, the function argument may need more than 4 byte alignment. We could pad somehow, but this is a rare case which makes it hard to ensure that we'v...
[ { "path": "src/cmd/compile/internal/liveness/plive.go", "patch": "@@ -425,7 +425,7 @@ func (lv *liveness) pointerMap(liveout bitvec.BitVec, vars []*ir.Name, args, loc\n \t\t\t\tif node.FrameOffset() < 0 {\n \t\t\t\t\tlv.f.Fatalf(\"Node %v has frameoffset %d\\n\", node.Sym().Name, node.FrameOffset())\n \t\t\...
2022-09-16T03:41:15
vercel/next.js
9c791866107d8818ea099f870d394d21acb87820
f4c14935aa27b11cc7f2bf3b37b389668eeb4428
fix(turbopack): add list of packages that should never be marked as e… (#59020) ### What? Turbopack was missing the list of modules / requests that should never be marked as external: https://github.com/vercel/next.js/blob/8d1c619ad650f5d147207f267441caf12acd91d1/packages/next/src/build/handle-externals.ts#L188...
[ { "path": "packages/next-swc/crates/next-core/src/next_server/resolve.rs", "patch": "@@ -80,7 +80,15 @@ impl ResolvePlugin for ExternalCjsModulesResolvePlugin {\n if *condition(self.root).matches(context).await? {\n return Ok(ResolveResultOption::none());\n }\n- if !matche...
2023-11-28T16:41:28
nodejs/node
f25153333533e8d328374df658786239c4d4aff3
c5719eb26546ad3cc6f764dfb53dd447d675dc84
test: fix flaky test-trace-atomics-wait This adds a possible ordering of the trace events that was missing from the list previously. Fixes: https://github.com/nodejs/node/issues/33427 PR-URL: https://github.com/nodejs/node/pull/33428 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau...
[ { "path": "test/parallel/test-trace-atomics-wait.js", "patch": "@@ -59,6 +59,11 @@ const expectedTimelines = [\n [Thread 0] Atomics.wait(<address> + 4, 0, inf) started\n [Thread 0] Atomics.wait(<address> + 4, 0, inf) was woken up by another thread\n [Thread 1] Atomics.wait(<address> + 4, -1, inf) started\n+...
2020-05-16T09:42:59
electron/electron
35a627fd603b4f340aa60eaaf397c0dad985b9b2
2e223288d23ba9fb95d08d0d006e9a7ec9a7f583
Log all crashes during specs
[ { "path": "spec/static/main.js", "patch": "@@ -2,20 +2,15 @@\n process.throwDeprecation = true\n \n const electron = require('electron')\n-const app = electron.app\n-const crashReporter = electron.crashReporter\n-const ipcMain = electron.ipcMain\n-const dialog = electron.dialog\n-const BrowserWindow = elect...
2017-04-21T19:29:46
golang/go
638c9aad5f88f96d9aa525bbe403c8a5d3b743e8
63d05642d48ec81637481518df962f2b3be435a3
cmd/compile,sync: make accessing address of zero offset struct field inline cost 0 Accessing the address of something often needs the same (or even less) number of instructions as accessing the content of the thing. That would help us rolling back the hack of CL 429766 to lower sync atomic types inline cost. Compiled...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -381,6 +381,15 @@ func (v *hairyVisitor) doNode(n ir.Node) bool {\n \tcase ir.OAPPEND:\n \t\tv.budget -= inlineExtraAppendCost\n \n+\tcase ir.OADDR:\n+\t\tn := n.(*ir.AddrExpr)\n+\t\t// Make \"&s.f\" cost 0 when f's offset is zero.\n+\t\tif do...
2022-09-15T16:04:53
facebook/react
0a7128c70f8737cb3945d91be46a1d33419551b5
e9653aad6adb2e0d7fb8cd7671188d8e0f2b06ae
Fixed spacing of invalid checksum warning
[ { "path": "src/browser/ui/ReactComponentBrowserEnvironment.js", "patch": "@@ -96,7 +96,7 @@ var ReactComponentBrowserEnvironment = {\n 'React attempted to use reuse markup in a container but the ' +\n 'checksum was invalid. This generally means that you are ' +\n 'u...
2014-05-18T03:04:52
vercel/next.js
f4c14935aa27b11cc7f2bf3b37b389668eeb4428
8d1c619ad650f5d147207f267441caf12acd91d1
Cleanup Render Result (#58782) This improves some of the typings around the `RenderResult` returned during renders. Previously it had a single large metadata object that was shared across both the pages and app render pipelines. To add more type safety, this splits the types used by each of the render pipelines into t...
[ { "path": "packages/next/src/build/utils.ts", "patch": "@@ -1127,10 +1127,16 @@ export async function buildStaticPaths({\n }\n }\n \n+export type AppConfigDynamic =\n+ | 'auto'\n+ | 'error'\n+ | 'force-static'\n+ | 'force-dynamic'\n+\n export type AppConfig = {\n revalidate?: number | false\n dyna...
2023-11-28T16:10:38
electron/electron
a00d36fb071be1344396ee90279cb5bbadcf9e0e
c146f8a308a5eb8d74fcd2fc566dc43e4eeca467
Add spec for alert/confirm toString errors
[ { "path": "spec/chromium-spec.js", "patch": "@@ -880,4 +880,28 @@ describe('chromium feature', function () {\n })\n })\n })\n+\n+ describe('window.alert(message, title)', function () {\n+ it('throws an exception when the arguments cannot be converted to strings', function () {\n+ assert...
2017-04-21T19:19:37
nodejs/node
dc6c93c03ee68eaca48b35e0cbcbb4d48e938e3d
9ad8b4d3934325def5949dab19667d6e5452bbdf
doc,tools: properly syntax highlight API ref docs Prior to this commit, all <pre> tags were being highlighted as JavaScript. This has been corrected to syntax highlight all languages appearing in the API reference docs. This was accomplished by using highlight.js instead of SHJS for the frontend lib. * remove SHJS Ja...
[ { "path": "LICENSE", "patch": "@@ -1448,6 +1448,39 @@ The externally maintained libraries used by Node.js are:\n THE POSSIBILITY OF SUCH DAMAGE.\n \"\"\"\n \n+- highlight.js, located at doc/api_assets/highlight.pack.js, is licensed as follows:\n+ \"\"\"\n+ BSD 3-Clause License\n+\n+ Copyright ...
2020-05-16T19:54:24
golang/go
63d05642d48ec81637481518df962f2b3be435a3
a7bcc94719a5a79241aa3ce35c1e2dbb83b94af7
debug/pe: be careful to avoid potential uint32 overflow Change-Id: Ic3c1c972bec39e14ea1af50ab2b5d887dac29eab Reviewed-on: https://go-review.googlesource.com/c/go/+/426114 Reviewed-by: Bryan Mills <bcmills@google.com> Auto-Submit: Dan Kortschak <dan@kortschak.io> Reviewed-by: David Chase <drchase@google.com> Reviewed-b...
[ { "path": "src/debug/pe/file.go", "patch": "@@ -353,7 +353,10 @@ func (f *File) ImportedSymbols() ([]string, error) {\n \tvar ds *Section\n \tds = nil\n \tfor _, s := range f.Sections {\n-\t\tif s.VirtualAddress <= idd.VirtualAddress && idd.VirtualAddress < s.VirtualAddress+s.VirtualSize {\n+\t\t// We are u...
2022-08-27T03:19:25
facebook/react
6c331fba07d49f05594d6014899e2c95d159b5f2
c913c95908fbc3eb5ee61e2832f57cb5d4d03d99
Add hasOwnProperty checks where appropriate For boolean-like objects, I've added hasOwnProperty checks in addition to the existing truthiness check even though for most of these dicts, we leave out false keys instead of setting them explicitly to false. In DOMPropertyOperations, we don't need to check hasOwnProperty ...
[ { "path": "src/addons/transitions/ReactTransitionChildMapping.js", "patch": "@@ -70,7 +70,7 @@ var ReactTransitionChildMapping = {\n \n var pendingKeys = [];\n for (var prevKey in prev) {\n- if (next[prevKey]) {\n+ if (next.hasOwnProperty(prevKey)) {\n if (pendingKeys.length) {\n ...
2014-02-27T05:13:35
nodejs/node
9ad8b4d3934325def5949dab19667d6e5452bbdf
b18d8dde847e1bff188c6cfb2d65a96209146c2c
wasi: relax WebAssembly.Instance type check Instances coming from different VM contexts don't pass `instanceof` type checks because each context has its own copy of the built-in globals. After review of the relevant code it seems like it should be safe to relax the type check and that is what this commit does: `wasi....
[ { "path": "lib/wasi.js", "patch": "@@ -1,5 +1,4 @@\n 'use strict';\n-/* global WebAssembly */\n const {\n ArrayPrototypeMap,\n ArrayPrototypePush,\n@@ -13,6 +12,7 @@ const {\n ERR_WASI_ALREADY_STARTED\n } = require('internal/errors').codes;\n const { emitExperimentalWarning } = require('internal/util'...
2020-05-16T11:19:54
facebook/react
65c258a7b7cb3879b232b1f94fd5c457fc7fd4e7
b66202eb982dfe3a1dee3bfc88c422c01d02bc72
Add harmony transform support in browser (Fixes GH-1420) I implemented this by checking for `type="text/jsx;harmony"`, since this has a bit of a cleaner implementation rather than parsing a JSON object out of a data attribute. If in the future there are other options to pass, it would make sense to move to a system li...
[ { "path": "examples/basic-jsx-harmony/index.html", "patch": "@@ -0,0 +1,51 @@\n+<!DOCTYPE html>\n+<html>\n+ <head>\n+ <meta http-equiv='Content-type' content='text/html; charset=utf-8'>\n+ <title>Basic Example with JSX with Harmony</title>\n+ <link rel=\"stylesheet\" href=\"../shared/css/base.css\...
2014-05-14T05:07:02
golang/go
cc1b20e8adf83865a1dbffa259c7a04ef0699b43
1c19c5602bc5d5f54463b1a0133965fa25ebcd56
runtime/internal/sys: make Len64 nosplit CL 427615 causes failures when Len64 can't be inlined. It's unclear to me why this wasn't a problem before, but it is used in sensitive contexts and therefore really should be marked. Confirmed that the failures in question reproduce without this change, and don't reproduce wit...
[ { "path": "src/runtime/internal/sys/intrinsics_common.go", "patch": "@@ -45,6 +45,10 @@ var ntz8tab = [256]uint8{\n }\n \n // len64 returns the minimum number of bits required to represent x; the result is 0 for x == 0.\n+//\n+// nosplit because this is used in src/runtime/histogram.go, which make run in se...
2022-09-17T02:21:12
electron/electron
64cc53795189036d94524fb5313bf15004d421ef
e9880e9c9783d4b21b405e89c8d405f37bf608d6
Update faq.md Fix the most horrible typo of all time
[ { "path": "docs/faq.md", "patch": "@@ -148,7 +148,7 @@ npm uninstall electron\n npm uninstall -g electron\n ```\n \n-However if your are using the built-in module but still getting this error, it\n+However if you are using the built-in module but still getting this error, it\n is very likely you are using t...
2017-04-23T03:11:04
nodejs/node
b18d8dde847e1bff188c6cfb2d65a96209146c2c
f14229e7040b376b4934f8d0c98520bb3ed798fc
Revert "n-api: detect deadlocks in thread-safe function" This reverts commit d26ca06c16f497ffa5ac4845a27922d5058a9318 because it breaks running the tests in debug mode, as `v8::Isolate::GetCurrent()` is not allowed if no `Isolate` is active on the current thread. Refs: https://github.com/nodejs/node/pull/33276 Refs: ...
[ { "path": "doc/api/n-api.md", "patch": "@@ -462,7 +462,7 @@ typedef enum {\n napi_date_expected,\n napi_arraybuffer_expected,\n napi_detachable_arraybuffer_expected,\n- napi_would_deadlock,\n+ napi_would_deadlock, /* unused */\n } napi_status;\n ```\n \n@@ -5124,18 +5124,9 @@ preventing data from b...
2020-05-18T04:50:14
facebook/react
808a54f410af73e993982a536bfb220ee8cbe1a7
a00199ddd22d7237ac7ca81c9af8432fe566fb6a
Batch subupdates caused by any state update With this, multiple setState calls triggered by a componentDidUpdate handler (or similar) will be batched together, regardless of if the original setState call was in a batching context. I also cleaned up some inconsistencies with the order of component updates and callback...
[ { "path": "src/addons/ReactRAFBatchingStrategy.js", "patch": "@@ -36,8 +36,8 @@ var ReactRAFBatchingStrategy = {\n * Call the provided function in a context within which calls to `setState`\n * and friends are batched such that components aren't updated unnecessarily.\n */\n- batchedUpdates: funct...
2014-04-06T23:46:16
golang/go
1c19c5602bc5d5f54463b1a0133965fa25ebcd56
7c87012f041948af55d323fc5447230c930e79aa
cmd/dist: add old style build tags If one (accidentally) uses Go 1.16 as bootstrap toolchain, we want it to print the error found packages main (build.go) and building_Go_requires_Go_1_17_or_later (notgo117.go) But because some files lack old style build tags, Go 1.16 instead prints //go:build comment without // +b...
[ { "path": "src/cmd/dist/exec_118.go", "patch": "@@ -3,6 +3,7 @@\n // license that can be found in the LICENSE file.\n \n //go:build !go1.19\n+// +build !go1.19\n \n package main\n ", "additions": 1, "deletions": 0, "language": "Go" }, { "path": "src/cmd/dist/exec_119.go", "patch": "@...
2022-09-16T23:54:51
nodejs/node
78eb420fed154b7729283a3d63c99fa9989ffbea
928473f689f1bc9a2fcb1fc0c55573b4d5994735
deps: V8: cherry-pick 548f6c81d424 Original commit message: [runtime] Don't track transitions for certainly detached maps Previously such maps were marked as prototype, but that has bad performance / memory characteristics if objects are used as dictionaries. Bug: b:148346655, v8:10339 Chang...
[ { "path": "common.gypi", "patch": "@@ -36,7 +36,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.13',\n+ 'v8_embedder_string': '-node.14',\n \n ##### V8 defaults for Node.js #####\n...
2020-05-20T13:19:06
vercel/next.js
8d1c619ad650f5d147207f267441caf12acd91d1
cd66493749a9e76ab32913f839e56b9828b22523
fix: Put back type for `NavigateOptions.scroll` (#59001) It seems like in https://github.com/vercel/next.js/commit/24b2ff16abaa973d695247a9c1ac4e229640d4ca#diff-421107ce62efb02560358d25c5eb086d5d82d2ad1c7c4929ebfb768c2ea1c973 `forceOptimisticNavigation` was removed, but the `@internal` flag that was originally assi...
[ { "path": "packages/next/src/shared/lib/app-router-context.shared-runtime.ts", "patch": "@@ -68,7 +68,6 @@ export type CacheNode =\n }\n \n export interface NavigateOptions {\n- /** @internal */\n scroll?: boolean\n }\n ", "additions": 0, "deletions": 1, "language": "Unknown" } ]
2023-11-28T15:14:47
golang/go
a9ca741d311772efb828c4b4f45e737783a89ca3
2addbf3f2a91e2caa0903c79a44d722e9bcd913d
net/http: deflake TestServerCancelsReadHeaderTimeoutWhenIdle Return errors instead of calling t.Fatalf for timing-sensitive failure modes. Scale the Sleep call to the timeout (so that it isn't too short for the longer durations). Fixes #54891. Change-Id: I574e85e121becdda9ab8ee6bfd37c18a549d366d Reviewed-on: https:/...
[ { "path": "src/net/http/serve_test.go", "patch": "@@ -5872,23 +5872,23 @@ func TestServerCancelsReadHeaderTimeoutWhenIdle(t *testing.T) {\n \t\tdefer conn.Close()\n \n \t\tif _, err := conn.Write([]byte(\"GET / HTTP/1.1\\r\\nHost: e.com\\r\\n\\r\\n\")); err != nil {\n-\t\t\tt.Fatalf(\"writing first request ...
2022-09-14T18:21:23
rust-lang/rust
ad9686e0c79fd4c4f650f6515c6ac3e48489e540
306d4e39def563fe6be2fc4369af8af45ab5c4b8
test: move the main file to `unfixable` since it's the one that makes no suggestions
[ { "path": "tests/ui/char_lit_as_u8_unfixable.rs", "patch": "@@ -1,3 +1,4 @@\n+//@no-rustfix\n #![warn(clippy::char_lit_as_u8)]\n \n fn main() {", "additions": 1, "deletions": 0, "language": "Rust" }, { "path": "tests/ui/char_lit_as_u8_unfixable.stderr", "patch": "@@ -1,5 +1,5 @@\n er...
2025-08-13T14:23:35
electron/electron
9acd9e878cdb76c945831a915fd419e20e32f24d
1a49374b4c94b137d67a7de9b594bef7a8663295
Mention downloading debugging tools for windows
[ { "path": "docs/development/build-instructions-windows.md", "patch": "@@ -10,6 +10,9 @@ Follow the guidelines below for building Electron on Windows.\n * [Python 2.7](http://www.python.org/download/releases/2.7/)\n * [Node.js](http://nodejs.org/download/)\n * [Git](http://git-scm.com)\n+* [Debugging Tools f...
2017-04-21T00:22:15
facebook/react
76abdddae83b238bdeb90e96b372933e41279de6
6b1c546602dcb436942c2bb69e4ff6a32f530e84
todomvc-flux: Depend on uglify-js, not uglifyjs Fixes #1505. Confusingly, the uglify-js package provides the `uglifyjs` binary and `npm run-script build` didn't work if uglify-js wasn't installed globally; now it does.
[ { "path": "examples/todomvc-flux/package.json", "patch": "@@ -12,7 +12,7 @@\n \"envify\": \"~1.2.0\",\n \"reactify\": \"~0.4.0\",\n \"statics\": \"~0.1.0\",\n- \"uglifyjs\": \"~2.3.6\",\n+ \"uglify-js\": \"~2.4.13\",\n \"watchify\": \"~0.4.1\"\n },\n \"scripts\": {", "additions...
2014-05-12T08:14:01
nodejs/node
928473f689f1bc9a2fcb1fc0c55573b4d5994735
4a911d46fe8f325b81e1cf39d1d62fd98788a7df
doc: fixed a grammatical error in path.md It said, " The path.basename() methods returns the last portion....". "Methods" was wrong and it is fixed to "method". PR-URL: https://github.com/nodejs/node/pull/33489 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luig...
[ { "path": "doc/api/path.md", "patch": "@@ -73,7 +73,7 @@ changes:\n * `ext` {string} An optional file extension\n * Returns: {string}\n \n-The `path.basename()` methods returns the last portion of a `path`, similar to\n+The `path.basename()` method returns the last portion of a `path`, similar to\n the Unix...
2020-05-20T22:23:56
golang/go
2d89bec2de0ee9d340346dea6b1506457f5f7722
a84f46a28a1a9ffc0183fed394b6969c10fad502
net: set AD bit in DNS queries when trust-ad in resolv.conf Fixes #51152 Change-Id: Ib366e733434b4bb60ac93e6e622d9ba50bfe4e26 GitHub-Last-Rev: e98220d62fc4f5b60aa3e4839f46ecf8f8f75485 GitHub-Pull-Request: golang/go#54921 Reviewed-on: https://go-review.googlesource.com/c/go/+/428955 Reviewed-by: Damien Neil <dneil@goo...
[ { "path": "src/net/dnsclient_unix.go", "patch": "@@ -51,9 +51,9 @@ var (\n \terrServerTemporarilyMisbehaving = errors.New(\"server misbehaving\")\n )\n \n-func newRequest(q dnsmessage.Question) (id uint16, udpReq, tcpReq []byte, err error) {\n+func newRequest(q dnsmessage.Question, ad bool) (id uint16, udpR...
2022-09-09T06:40:57
vercel/next.js
048ab21f6b033b2865353b236f52de7d48b44754
c85caae8d6b4e87b71c4482461fb5cd5e4d647f1
fix(turbopack): treat .mdx as valid ecma asset (#58985) ### What Pairing with https://github.com/vercel/turbo/pull/6602, enables ecma-related transform support in mdx. notably fixes test cases in https://github.com/vercel/next.js/pull/58968 . With turbopack side fix, still modularize imports are not being appl...
[ { "path": "Cargo.lock", "patch": "@@ -322,7 +322,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-231127.3#cb1496ca9ee93f5270041e4988080c2eb52b0e35\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-11-28T12:54:46
facebook/react
659b7981e14c7eb36cf2638a95a3a16f080b8cca
32b84a4c5ea32835b93a857cf00f0db86d6c755a
Preemptively error when required ES5 shim/shams are not available
[ { "path": "src/browser/ui/React.js", "patch": "@@ -88,6 +88,34 @@ if (__DEV__) {\n 'Download the React DevTools for a better development experience: ' +\n 'http://fb.me/react-devtools'\n );\n+\n+ var expectedFeatures = [\n+ // shims\n+ Array.isArray,\n+ Array.prototype.ever...
2014-05-11T18:46:16
rust-lang/rust
8ef6a8ff6defd019dff7865ab602bc7acba1afc2
b7e4b28c3be2ac96db9dcb6594aecb84355ecd44
[internal] Update to the latest @vscode/vsce for extension build This isn't a logic change, but it fixes an npm warning during the build. vsce itself hasn't had any major changes between 3.2.2 and 3.6. * https://github.com/microsoft/vscode-vsce/releases/tag/v3.3.0 * https://github.com/microsoft/vscode-vsce/releases/t...
[ { "path": "src/tools/rust-analyzer/editors/code/package-lock.json", "patch": "@@ -26,7 +26,7 @@\n \"@typescript-eslint/eslint-plugin\": \"^8.25.0\",\n \"@typescript-eslint/parser\": \"^8.25.0\",\n \"@vscode/test-electron\": \"^2.4.1\",\n- \"@vsc...
2025-08-13T14:24:53
nodejs/node
51af89fe453738262e2c10c831705a385ec78530
979ec425bd62df70e8e1409917f4ebf711fe104b
module: fix check for package.json at volume root Fix package.json files at the volume root so that when they contain {"type": "module"}, they behave as documented, like such a package.json file in any other folder. Fixes: https://github.com/nodejs/node/issues/33438 PR-URL: https://github.com/nodejs/node/pull/33476 ...
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -41,6 +41,7 @@ const {\n SafeMap,\n String,\n StringPrototypeIndexOf,\n+ StringPrototypeLastIndexOf,\n StringPrototypeMatch,\n StringPrototypeSlice,\n StringPrototypeStartsWith,\n@@ -286,12 +287,13 @@ function readPackageScope(checkPa...
2020-05-20T04:47:31
golang/go
8451529e9ab26901f952976f9dcadd498d808c32
63ceff95fa7cc93dd848b503dedcef53b918cdc3
runtime: tweak bgsweep "low-priority" heuristic Currently bgsweep attempts to be a low-priority background goroutine that runs mainly when the application is mostly idle. To avoid complicating the scheduler further, it achieves this with a simple heuristic: call Gosched after each span swept. While this is somewhat in...
[ { "path": "src/runtime/mgcsweep.go", "patch": "@@ -279,12 +279,34 @@ func bgsweep(c chan int) {\n \tgoparkunlock(&sweep.lock, waitReasonGCSweepWait, traceEvGoBlock, 1)\n \n \tfor {\n+\t\t// bgsweep attempts to be a \"low priority\" goroutine by intentionally\n+\t\t// yielding time. It's OK if it doesn't run...
2022-09-08T20:59:02
vercel/next.js
c85caae8d6b4e87b71c4482461fb5cd5e4d647f1
7bdb61c28d5046a90e14c98b3ee2d01cd143daa2
Fix encoding in encryption of Server Actions (#59000) Utils `stringToUint8Array` and `arrayBufferToString` assume that the values are just arbitrary fixed width data. However that doesn't work when we do unicode concatenation (`actionId + arg`) which requires Text encoder/decoder to be used. Closes #58463, closes #58...
[ { "path": "packages/next/src/server/app-render/action-encryption.ts", "patch": "@@ -23,6 +23,9 @@ import {\n stringToUint8Array,\n } from './action-encryption-utils'\n \n+const textEncoder = new TextEncoder()\n+const textDecoder = new TextDecoder()\n+\n async function decodeActionBoundArg(actionId: string...
2023-11-28T10:20:47
electron/electron
b3baf9976f6d5d6dd0e80886c301dfd16bd2cd9f
5f1bcd2d166d4de0f8081eed59d3c75e293c907e
coding style fixes
[ { "path": "atom/browser/ui/certificate_trust_win.cc", "patch": "@@ -13,17 +13,25 @@ void ShowCertificateTrust(atom::NativeWindow* parent_window,\n const scoped_refptr<net::X509Certificate>& cert,\n const std::string& message,\n co...
2017-04-21T02:17:01
facebook/react
d5a5840d3187993e7ec7962139c341df1d5cd1ed
bf957c6c5096da7887fc0e6df45f8a286cf83202
Update flux-todo-list.md Fix broken link to todomvc-flux repo @spicyj cla signed
[ { "path": "docs/docs/flux-todo-list.md", "patch": "@@ -5,7 +5,7 @@ layout: docs\n prev: flux-overview.html\n ---\n \n-To demonstrate the Flux architecture with some example code, let's take on the classic TodoMVC application. The entire application is available in the React GitHub repo within the [todomvc-f...
2014-05-09T18:11:42
rust-lang/rust
7b13a509cc21dc49ae9c467038f04d9dd60994af
1c9952f4dd6e0947ee91f07130c03813a088a894
Add a method to dump MIR in the middle of MIR building This makes it easier to debug issues with MIR building by inserting dump_for_debugging calls around the suspected code responsible for the bad MIR.
[ { "path": "compiler/rustc_mir_build/src/builder/mod.rs", "patch": "@@ -789,6 +789,28 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {\n builder\n }\n \n+ #[allow(dead_code)]\n+ fn dump_for_debugging(&self) {\n+ let body = Body::new(\n+ MirSource::item(self.def_id.to_def_id()),\n+ ...
2025-08-01T13:24:46
nodejs/node
c45313b3ad47d7e7aa7d204d3ac002a5bbdf3bcb
b6b82cba27da9ef83bfef67cac9d3593bd72c0e2
worker: perform initial port.unref() before preload modules The refcount of the internal communication port is relevant for stdio, but the `port.unref()` call effectively resets any `.ref()` calls happening during stdio operations happening before it. Therefore, do the `.unref()` call before loading preload modules, ...
[ { "path": "lib/internal/main/worker_thread.js", "patch": "@@ -92,6 +92,7 @@ if (process.env.NODE_CHANNEL_FD) {\n \n port.on('message', (message) => {\n if (message.type === LOAD_SCRIPT) {\n+ port.unref();\n const {\n argv,\n cwdCounter,\n@@ -145,7 +146,6 @@ port.on('message', (message) ...
2020-05-18T06:55:17
golang/go
63ceff95fa7cc93dd848b503dedcef53b918cdc3
686b38b5b27fe14318adfee57aac780c452fddd6
runtime/metrics: add /sync/mutex/wait/total:seconds metric This change adds a metric to the runtime/metrics package which tracks total mutex wait time for sync.Mutex and sync.RWMutex. The purpose of this metric is to be able to quickly get an idea of the total mutex wait time. The implementation of this metric piggyb...
[ { "path": "src/runtime/export_test.go", "patch": "@@ -525,6 +525,12 @@ func Getg() *G {\n \treturn getg()\n }\n \n+func GIsWaitingOnMutex(gp *G) bool {\n+\treturn readgstatus(gp) == _Gwaiting && gp.waitreason.isMutexWait()\n+}\n+\n+var CasGStatusAlwaysTrack = &casgstatusAlwaysTrack\n+\n //go:noinline\n func...
2022-08-31T21:34:23
vercel/next.js
7bdb61c28d5046a90e14c98b3ee2d01cd143daa2
0d6d53cc26c04212914db142ed69af008628820c
Fix bugs with baseUrl and mdxRs (#58968) ## What? Was investigating an issue with Turbopack and MDX, in the process found a few bugs: - When you have a `tsconfig.json` or `jsconfig.json` the `baseUrl: '.'` is used by default which causes the top-level directories to be available as e.g. `design-system` (witho...
[ { "path": "packages/next-mdx/index.js", "patch": "@@ -28,12 +28,7 @@ module.exports =\n ]\n config.module.rules.push({\n test: extension,\n- use: [\n- nextConfig?.experimental?.mdxRs\n- ? undefined\n- : options.defaultLoaders.babel,\n- ...
2023-11-28T09:50:14
electron/electron
fae03088611b78ac24bd8fb4cb538b17df7b58e0
709d2933b7deb09ad34457c7e87a5a427b2b565e
Use app name in crash dir path on linux/macos
[ { "path": "spec/api-crash-reporter-spec.js", "patch": "@@ -86,7 +86,7 @@ describe('crashReporter module', function () {\n \n stopServer = startServer({\n callback (port) {\n- const crashesDir = path.join(app.getPath('temp'), `Zombies Crashes`)\n+ const crashesDir = pa...
2017-04-19T23:53:57
facebook/react
bf957c6c5096da7887fc0e6df45f8a286cf83202
39ec28f6f4b603b3b85590ce63b7f1b1f7552cd7
Fix minor typo
[ { "path": "docs/docs/flux-overview.md", "patch": "@@ -92,6 +92,6 @@ case 'TODO_CREATE':\n break; \n ```\n \n-The arguments for `waitFor()` are an array of dipatcher registry indexes, and a final callback to invoke after the callbacks at the given indexes have completed. Thus the store that is invoking `w...
2014-05-09T17:01:40
rust-lang/rust
f0bb5cde69d64b896e91d56a52521252fb8d1340
306d4e39def563fe6be2fc4369af8af45ab5c4b8
`as_ptr_cast`: move the unfixable case into a separate file allows creating `.fixed` for the main file
[ { "path": "tests/ui/as_ptr_cast_mut.fixed", "patch": "@@ -0,0 +1,38 @@\n+#![allow(unused)]\n+#![warn(clippy::as_ptr_cast_mut)]\n+#![allow(clippy::wrong_self_convention, clippy::unnecessary_cast)]\n+\n+struct MutPtrWrapper(Vec<u8>);\n+impl MutPtrWrapper {\n+ fn as_ptr(&mut self) -> *const u8 {\n+ s...
2025-08-13T14:09:04
nodejs/node
a4e273baf43910ba9e5c66949e56b919f8614fb9
cd4985c488870f95488e6e7a94d280f8d7b1ecd5
win,fs: use namespaced path in absolute symlinks Use the namespaced (with the \\?\ prefix) paths for symlink targets when the path is absolute. This allows creation of symlinks to files with long filenames. Fixes: https://github.com/nodejs/node/issues/27795 PR-URL: https://github.com/nodejs/node/pull/33351 Reviewed-...
[ { "path": "lib/internal/fs/utils.js", "patch": "@@ -302,6 +302,10 @@ function preprocessSymlinkDestination(path, type, linkPath) {\n path = pathModule.resolve(linkPath, '..', path);\n return pathModule.toNamespacedPath(path);\n }\n+ if (pathModule.isAbsolute(path)) {\n+ // If the path is absol...
2020-05-21T12:12:42
golang/go
b7c28f484ddbc8267273c997e1bcc83a1391b5f7
87eda2a782db9b7ad2ec1fd335ed6c7472aa66bc
runtime/metrics: add CPU stats This changes adds a breakdown for estimated CPU usage by time. These estimates are not based on real on-CPU counters, so each metric has a disclaimer explaining so. They can, however, be more reasonably compared to a total CPU time metric that this change also adds. Fixes #47216. Chang...
[ { "path": "src/runtime/metrics.go", "patch": "@@ -90,6 +90,83 @@ func initMetrics() {\n \t\t\t\tout.scalar = uint64(NumCgoCall())\n \t\t\t},\n \t\t},\n+\t\t\"/cpu/classes/gc/mark/assist:cpu-seconds\": {\n+\t\t\tdeps: makeStatDepSet(cpuStatsDep),\n+\t\t\tcompute: func(in *statAggregate, out *metricValue) {\n...
2022-05-06T20:11:28
vercel/next.js
e22279a66b63dd7ec5a38f3b1593f897f4508556
d6c77773c7743a4f6e7cbac11421b303ec3b8577
fix(mdx): support ecma transforms for the mdx assets (vercel/turbo#6602)
[ { "path": "crates/turbopack-mdx/src/lib.rs", "patch": "@@ -82,6 +82,10 @@ pub struct MdxModuleAsset {\n /// only difference is it is not a valid ecmascript AST we\n /// can't pass it forward directly. Internally creates an jsx from mdx\n /// via mdxrs, then pass it through existing ecmascript analyzer.\n+//...
2023-11-27T22:06:27
electron/electron
de62f1ea6cd7015d1c4cf951cbe7f054d87dc0e4
a7a92e1cd30b3c4ee1f2040c460bfeb325a5b675
Restart crash service in each spec
[ { "path": "lib/common/api/crash-reporter.js", "patch": "@@ -56,7 +56,7 @@ class CrashReporter {\n const env = {\n ELECTRON_INTERNAL_CRASH_SERVICE: 1\n }\n- spawn(process.execPath, args, {\n+ this._crashServiceProcess = spawn(process.execPath, args, {\n env: env,\n ...
2017-04-19T23:32:43
rust-lang/rust
d962e00471936cbbefbca80666c4566dd5ac08d5
20cc800415b4b491033d6a53b7fb31b5895b97ce
Fix rustc test suite
[ { "path": "scripts/setup_rust_fork.sh", "patch": "@@ -50,23 +50,23 @@ EOF\n \n cat <<EOF | git apply -\n diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs\n-index cf4ef4ee310..fe78560fcaf 100644\n+index a656927b1f6..44fc5546fac 100644\n --- a/src/bootstrap/src/co...
2025-08-13T13:46:55
nodejs/node
da7be6979e3cb097a75f8cf93895deb0f1002002
4c4c22635927d88eccab495b34564439dbdf50c7
doc: fix readline key binding documentation The documentation for two key bindings was not correct. Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de> PR-URL: https://github.com/nodejs/node/pull/33361 Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
[ { "path": "doc/api/readline.md", "patch": "@@ -750,7 +750,7 @@ const { createInterface } = require('readline');\n <tr>\n <td><code>ctrl</code> + <code>shift</code> + <code>delete</code></td>\n <td>Delete line right</td>\n- <td>Doesn't work on Linux and Mac</td>\n+ <td>Doesn't work on Mac</td...
2020-05-11T21:10:50
vercel/next.js
cdf2b79ea9668e5f6e5285819ca2bfa76bc98c0a
1c5ff6e73586b24a560120658f568472773f1a3f
Add nodejs version check (#58958) There're some reports related to using incorrect Node.js version, sometimes users ended up in weird errors. As pkg manager like pnpm only gives a warning ` WARN  Unsupported engine: wanted: {"node":">=18.17.0"} (current: {"node":"v16.18.0","pnpm":"8.9.0"})` which is not easy to invest...
[ { "path": "packages/next/src/bin/next.ts", "patch": "@@ -3,6 +3,7 @@ performance.mark('next-start')\n import '../server/require-hook'\n import * as log from '../build/output/log'\n import arg from 'next/dist/compiled/arg/index.js'\n+import semver from 'next/dist/compiled/semver'\n import { NON_STANDARD_NODE...
2023-11-27T16:53:26
golang/go
1fc83690e68de1ce252975c5fd3a232629d6a3d6
0a1118b8a172e64247ce44fcaa7483f24d834c18
testing: allow go test -run=^$ testing This should fix the ssacheck builder. Change-Id: I4b6172df33d6447f7ec8fd8e301c6380efb92588 Reviewed-on: https://go-review.googlesource.com/c/go/+/431336 Auto-Submit: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: David Chase <drchase@google.com> Try...
[ { "path": "src/testing/testing.go", "patch": "@@ -1766,12 +1766,13 @@ func (m *M) Run() (code int) {\n \t\tm.stopAlarm()\n \t\tif !testRan && !exampleRan && !fuzzTargetsRan && *matchBenchmarks == \"\" && *matchFuzz == \"\" {\n \t\t\tfmt.Fprintln(os.Stderr, \"testing: warning: no tests to run\")\n-\t\t\tif t...
2022-09-16T16:05:57
electron/electron
f891df55d443eb425769753d186920123da505e1
4af44b1be69abec3dcffc5e6ad060b632c514898
Call done callback with Error
[ { "path": "spec/chromium-spec.js", "patch": "@@ -107,7 +107,7 @@ describe('chromium feature', function () {\n if (labelFound) {\n done()\n } else {\n- done('No device labels found: ' + JSON.stringify(labels))\n+ done(new Error(`No device labels found: ${JSON.strin...
2017-04-18T23:06:10
rust-lang/rust
a0eea23317e60ef1b648abd0fe76ca89362ac44d
a1531335fe2807715fff569904d99602022643a7
doc test: fix mpsc.rs try_send doc test Signed-off-by: Eval EXEC <execvy@gmail.com>
[ { "path": "library/std/src/sync/mpsc.rs", "patch": "@@ -697,14 +697,14 @@ impl<T> SyncSender<T> {\n /// let sync_sender2 = sync_sender.clone();\n ///\n /// // First thread owns sync_sender\n- /// thread::spawn(move || {\n+ /// let handle1 = thread::spawn(move || {\n /// sync_sender...
2025-08-12T10:36:16
nodejs/node
08308c7111b8accc77092999ad4c8fb63807c1f4
3a5158878b910a9e2d61988ef82640db2a50c0ec
http2: do not modify explicity set date headers Fixes: https://github.com/nodejs/node/issues/30894 Refs: https://github.com/nodejs/node/issues/29829 PR-URL: https://github.com/nodejs/node/pull/33160 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "doc/api/http2.md", "patch": "@@ -1409,6 +1409,10 @@ and will throw an error.\n #### `http2stream.respond([headers[, options]])`\n <!-- YAML\n added: v8.4.0\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/33160\n+ description: Allow explicity setting date h...
2020-04-25T21:59:17
rust-lang/rust
ebcbcc8b73cb6fa8aad42e258ca0382db68e7876
6355cd39c81e9699b1925c58d2ed3165bcab1715
bootstrap: Fix jemalloc 64K page support for aarch64 tools
[ { "path": "src/bootstrap/src/core/build_steps/compile.rs", "patch": "@@ -1391,6 +1391,7 @@ pub fn rustc_cargo_env(builder: &Builder<'_>, cargo: &mut Cargo, target: TargetS\n \n // Build jemalloc on AArch64 with support for page sizes up to 64K\n // See: https://github.com/rust-lang/rust/pull/135081\...
2025-08-13T12:18:06
vercel/next.js
1c5ff6e73586b24a560120658f568472773f1a3f
f7459025cfb3790f6230a1b463915c42576d27ad
Remove `cache` field from action types (#58938) The app router reducer state used to be managed by `useReducer`, so it was written to be resilient to rebasing — the same action may be processed multiple times. Now that we've lifted the reducer outside of React (#56497), each action runs only a single time. So we ca...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -166,7 +166,6 @@ function useServerActionDispatcher(dispatch: React.Dispatch<ReducerActions>) {\n ...actionPayload,\n type: ACTION_SERVER_ACTION,\n mutable: {},\n- cache: createEmptyCacheNode(...
2023-11-27T16:32:10
electron/electron
fe88697348a88b975564afb1b89795d58af77cf8
efca0a6e07434dddebd7fa50d90824ad52554cef
fixup! fixup! Adding cookie flush store api
[ { "path": "atom/browser/api/atom_api_cookies.cc", "patch": "@@ -180,8 +180,9 @@ void OnSetCookie(const Cookies::SetCallback& callback, bool success) {\n }\n \n // Flushes cookie store in IO thread.\n-void FlushCookieStoreOnIOThread(scoped_refptr<net::URLRequestContextGetter> getter,\n- ...
2017-04-17T11:37:10
golang/go
0a1118b8a172e64247ce44fcaa7483f24d834c18
706d84fca2b36fdf670a0d921e6a8a3b481eaa05
go/types, types2: allow (string...) signature with NewSignatureType Includes cases where the core type of the variadic parameter is a slice or bytestring. Permits a client to create the signature for various instantiations of append. Fixes #55030. Change-Id: I0f4983eb00c088cbe1d87954ee0b2df0ccc3bc49 Reviewed-on: htt...
[ { "path": "src/cmd/compile/internal/types2/issues_test.go", "patch": "@@ -636,3 +636,40 @@ func TestIssue50646(t *testing.T) {\n \t\tt.Errorf(\"comparable not assignable to any\")\n \t}\n }\n+\n+func TestIssue55030(t *testing.T) {\n+\t// makeSig makes the signature func(typ...)\n+\tmakeSig := func(typ Type)...
2022-09-12T22:51:32
rust-lang/rust
4e2d420ac5f23bb9853410098b4f686704c0a6c2
1c9952f4dd6e0947ee91f07130c03813a088a894
avoid duplicate error string
[ { "path": "compiler/rustc_borrowck/src/diagnostics/mod.rs", "patch": "@@ -676,7 +676,7 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, 'infcx, 'tcx> {\n });\n \n if let Some(span) = predicate_span {\n- err.span_note(span, \"due to current limitations in the borrow checker, this implies ...
2025-08-07T08:57:51
nodejs/node
3a5158878b910a9e2d61988ef82640db2a50c0ec
ff016fbd8391883a6bb43d0a661d1baafa33ce86
util: mark classes while inspecting them This outlines the basic class setup when inspecting a class. Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de> PR-URL: https://github.com/nodejs/node/pull/32332 Fixes: https://github.com/nodejs/node/issues/32270 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-...
[ { "path": "lib/internal/util/inspect.js", "patch": "@@ -12,6 +12,7 @@ const {\n DatePrototypeToString,\n ErrorPrototypeToString,\n Float32Array,\n+ FunctionPrototypeToString,\n JSONStringify,\n Map,\n MapPrototype,\n@@ -170,6 +171,10 @@ const numberRegExp = /^(0|[1-9][0-9]*)$/;\n const coreModu...
2020-03-17T20:22:57
vercel/next.js
46bcd11326e0c5cb6d3187075109c7f0d10070a7
8f2c48272962cd005f9ca6078afde4f4ef9b1052
Fix nested fetch logging indentation (#58955) The indentation of nested logging requests are not correct ### After <img height="200" src="https://github.com/vercel/next.js/assets/4800338/4e38cc5e-147c-4f62-81a7-b2a6d84729e0"> ### Before <img height="200" src="https://github.com/vercel/next.js/assets/4800338/5ac8f6...
[ { "path": "packages/next/src/server/next-server.ts", "patch": "@@ -1125,7 +1125,7 @@ export default class NextNodeServer extends BaseServer {\n }\n }\n \n- return `${' │ '.repeat(nestedLevel)}`\n+ return nestedLevel === 0 ? ' ' : `${' │ '.repeat(nest...
2023-11-27T15:53:18
golang/go
88b51d2e630738f9396e3825eafd90d03727ec0d
b35b4a31e167a170a5ee481ed525272bc44dcc33
go/printer: make ExampleFprint correctly run as online example function "ExampleFprint" will be rewritten to function "main" when displayed on the godoc pages, so the online example is failed to run: Output: panic: function not found goroutine 1 [running]: main.parseFunc({0x4f772e, 0xf}, {0x4f713f, ...
[ { "path": "src/go/printer/example_test.go", "patch": "@@ -12,12 +12,8 @@ import (\n \t\"go/printer\"\n \t\"go/token\"\n \t\"strings\"\n-\t\"testing\"\n )\n \n-// Dummy test function so that godoc does not use the entire file as example.\n-func Test(*testing.T) {}\n-\n func parseFunc(filename, functionname s...
2022-08-23T02:27:04
electron/electron
efca0a6e07434dddebd7fa50d90824ad52554cef
19709a50e9490cb1add345ba614de2c61ce6fab9
fixup! Adding cookie flush store api
[ { "path": "docs/api/cookies.md", "patch": "@@ -105,6 +105,8 @@ on complete.\n Removes the cookies matching `url` and `name`, `callback` will called with\n `callback()` on complete.\n \n-#### `cookies.flushStore()`\n+#### `cookies.flushStore(callback)`\n+\n+* `callback` Function\n \n Writes any unwritten coo...
2017-04-14T17:03:52
rust-lang/rust
1d57d7800db05934a466457c443975d71c4d1e29
b7e4b28c3be2ac96db9dcb6594aecb84355ecd44
Fix dead link to Cargo.toml in documentation ../../Cargo.toml resolves to https://rust-analyzer.github.io/Cargo.toml, which is an invalid link
[ { "path": "src/tools/rust-analyzer/docs/book/src/contributing/style.md", "patch": "@@ -101,7 +101,7 @@ Including a description and GIF suitable for the changelog means less work for t\n \n ## Clippy\n \n-We use Clippy to improve the code, but if some lints annoy you, allow them in the [Cargo.toml](../../Car...
2025-08-13T11:03:52
nodejs/node
a82001a387afa133590420c98efb6b87ad320bfb
38f444060b0527afe5dccc44ee2db55c73c62e57
doc: document module.path Refs: https://github.com/nodejs/node/pull/26970 Fixes: https://github.com/nodejs/node/issues/33270 PR-URL: https://github.com/nodejs/node/pull/33323 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "doc/api/modules.md", "patch": "@@ -688,6 +688,7 @@ node entry.js\n ```js\n Module {\n id: '.',\n+ path: '/absolute/path/to',\n exports: {},\n parent: null,\n filename: '/absolute/path/to/entry.js',\n@@ -899,6 +900,16 @@ added: v0.1.16\n \n The module that first required this one.\n \n+##...
2020-05-09T11:02:47
golang/go
e4a2c38af5bdae12591004c3d35762d23da7a9bd
819e3394c90e27483f1f6eabfb02d22c927a139d
cmd/go, testing: add go test -skip flag For proposal #41583, add a new 'go test -skip' flag to make it easy to disable specific tests, benchmarks, examples, or fuzz targets. Fixes #41583. Change-Id: Id12a6575f505dafdce4a149aedc454a002e93afa Reviewed-on: https://go-review.googlesource.com/c/go/+/421439 TryBot-Result:...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -2983,6 +2983,7 @@\n //\t run too, so that -run=X/Y matches and runs and reports the result\n //\t of all tests matching X, even those without sub-tests matching Y,\n //\t because it must run them to look for those sub-tests.\n+//\t See also -skip....
2022-08-05T18:15:03
vercel/next.js
40a6e613fe700cf7de0797f6f1afcfdf6b10a4e6
e62c18b89d26f6b52ba092bcac4ecdff3f71776b
fix(windows): workaround for intermittent locks on windows when renaming files (#58835) ### What? See: https://github.com/libuv/libuv/pull/1981 Closes PACK-1956 Fixes #57581
[ { "path": "packages/next/package.json", "patch": "@@ -96,6 +96,7 @@\n \"@swc/helpers\": \"0.5.2\",\n \"busboy\": \"1.6.0\",\n \"caniuse-lite\": \"^1.0.30001406\",\n+ \"graceful-fs\": \"^4.2.11\",\n \"postcss\": \"8.4.31\",\n \"styled-jsx\": \"5.1.1\",\n \"watchpack\": \"2.4.0\"\n@...
2023-11-27T15:19:45
nodejs/node
1786504afa068b2b6591f23799dadd4e867cc529
ee8756760cf788a7a22091613597c03dceeb3e24
doc: fix typos in handle scope descriptions PR-URL: https://github.com/nodejs/node/pull/33267 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Rich Trott <rtr...
[ { "path": "doc/api/n-api.md", "patch": "@@ -1238,7 +1238,7 @@ NAPI_EXTERN napi_status napi_open_handle_scope(napi_env env,\n \n Returns `napi_ok` if the API succeeded.\n \n-This API open a new scope.\n+This API opens a new scope.\n \n #### napi_close_handle_scope\n <!-- YAML\n@@ -1278,7 +1278,7 @@ NAPI_EXTE...
2020-05-06T14:26:07
golang/go
819e3394c90e27483f1f6eabfb02d22c927a139d
e0e1ce9888f5483f834e435d53f5c6c42b9b12a1
cmd/internal/objabi: record GO$GOARCH setting in object header The object header string is meant to record the relevant toolchain configuration, so that we don't import or link object files that are incompatible with each other. One important part of compatibility is the sub-architecture version (GOARM for GOARCH=arm,...
[ { "path": "src/cmd/internal/objabi/util.go", "patch": "@@ -22,5 +22,12 @@ const (\n // or link object files that are incompatible with each other. This\n // string always starts with \"go object \".\n func HeaderString() string {\n-\treturn fmt.Sprintf(\"go object %s %s %s X:%s\\n\", buildcfg.GOOS, buildcfg...
2022-08-31T18:37:11
facebook/react
c7c30270811b46782a2e08d5fa1f2e55ae1384a4
cc56629620bf6929f7bb7d375f3738527eb26031
Small style fixup
[ { "path": "src/addons/transitions/ReactTransitionEvents.js", "patch": "@@ -59,7 +59,7 @@ function detectEvents() {\n }\n \n if (!('TransitionEvent' in window)) {\n- delete EVENT_NAME_MAP.transitionend.transition;\n+ delete EVENT_NAME_MAP.transitionend.transition;\n }\n \n for (var baseEventName...
2014-05-07T17:44:30
vercel/next.js
e62c18b89d26f6b52ba092bcac4ecdff3f71776b
f1511515fdf33bc30ce5436f5ec555ec71c528d3
remove duplicate util file for redirect status (#58878) No change in behavior, this just moves a util that performs the same error digest parsing into the other file that performs similar behavior & validation. Since splitting & parsing the digest string is a strange operation, this keeps it close to where that hap...
[ { "path": "packages/next/src/client/components/get-redirect-status-code-from-error.ts", "patch": "@@ -1,11 +0,0 @@\n-import { type RedirectError, isRedirectError } from './redirect'\n-\n-export function getRedirectStatusCodeFromError<U extends string>(\n- error: RedirectError<U>\n-): number {\n- if (!isRe...
2023-11-27T14:58:05
rust-lang/rust
8fc3938d9961568dfec38b10506f33fd9bc7c147
bbf08d87eb92f618120b6517651588950780b3e4
fix scope of `super let` bindings within `if let` They now use the enclosing temporary scope as their scope, regardless of which `ScopeData` was used to mark it.
[ { "path": "compiler/rustc_hir_analysis/src/check/region.rs", "patch": "@@ -490,12 +490,8 @@ fn resolve_local<'tcx>(\n //\n // Iterate up to the enclosing destruction scope to find the same scope that will also\n // be used for the result of the block itself.\n- ...
2025-08-13T08:02:13
electron/electron
3bcf5e0e9f0862d62fdd9e937225e9137300d98e
4a7125d9f831b47993e2e7b16e64f55cf78f7f78
Fix OverrideSiteInstanceForNavigation() signature
[ { "path": "atom/browser/atom_browser_client.cc", "patch": "@@ -172,6 +172,7 @@ std::string AtomBrowserClient::GetApplicationLocale() {\n }\n \n void AtomBrowserClient::OverrideSiteInstanceForNavigation(\n+ content::RenderFrameHost* render_frame_host,\n content::BrowserContext* browser_context,\n ...
2017-04-18T08:51:38
facebook/react
5c9224145ee0fe2de65e98d2540ccc0f004b1b00
486b3c0bc5fc104d3b106b4ab58136b392753150
ReactTransitionGroup: Fix moving from falsey child See http://stackoverflow.com/q/23510413/49485. Test Plan: grunt fasttest
[ { "path": "src/addons/transitions/ReactTransitionGroup.js", "patch": "@@ -62,14 +62,16 @@ var ReactTransitionGroup = React.createClass({\n \n for (key in nextChildMapping) {\n var hasPrev = prevChildMapping && prevChildMapping.hasOwnProperty(key);\n- if (!hasPrev && !this.currentlyTransitioni...
2014-05-07T12:54:23
golang/go
36760ca9fd3eaf2c79efef48e533b66da6c542bd
3a067b288ef235fdbc88220ea5bb384e0474f09b
text/template/parse: simplify I/O in lexing The concurrent model for delivering tokens was fine for pedagogy, but has caused a few problems as the package has evolved (that is, got more complicated). It's easy to eliminate it, simplifying or removing some of the hacks used to work around these prolems. The old lexer ...
[ { "path": "src/text/template/parse/lex.go", "patch": "@@ -111,20 +111,26 @@ type stateFn func(*lexer) stateFn\n \n // lexer holds the state of the scanner.\n type lexer struct {\n-\tname string // the name of the input; used only for error reports\n-\tinput string // the string being scan...
2022-06-16T07:35:05
vercel/next.js
d6c77773c7743a4f6e7cbac11421b303ec3b8577
76b76bee2af43202495d709d4669026758d56bba
fix(turbopack-bench): remove outdated `experimental.appDir` from next.config.js (vercel/turbo#6589)
[ { "path": "crates/turbopack-bench/src/bundlers/nextjs/next.config.js", "patch": "@@ -1,5 +1 @@\n-module.exports = {\n- experimental: {\n- appDir: true,\n- },\n-};\n+module.exports = {};", "additions": 1, "deletions": 5, "language": "JavaScript" } ]
2023-11-27T14:14:49
rust-lang/rust
bbf08d87eb92f618120b6517651588950780b3e4
1553adfe6884a8f6c28f5a673d3e605535ee0113
add a test with incorrect `if let`-`super let` drop order
[ { "path": "tests/ui/drop/if-let-super-let.rs", "patch": "@@ -0,0 +1,112 @@\n+//! Test for #145328: ensure the lifetime of a `super let` binding within an `if let` scrutinee is\n+//! at most the scope of the `if` condition's temporaries. Additionally, test `pin!` since it's\n+//! implemented in terms of `sup...
2025-08-13T06:55:29
facebook/react
b360ed80dd573a14a9b779386cebc0cc8552ab82
88c94683d687e28429d08d2aa046755f67e2d70b
Fixed incorrect usage of github api in example more: https://developer.github.com/v3/gists/#detailed-gist-representation
[ { "path": "docs/tips/12-initial-ajax.md", "patch": "@@ -26,7 +26,7 @@ var UserGist = React.createClass({\n $.get(this.props.source, function(result) {\n var lastGist = result[0];\n this.setState({\n- username: lastGist.user.login,\n+ username: lastGist.owner.login,\n la...
2014-05-06T23:42:07
electron/electron
4a7125d9f831b47993e2e7b16e64f55cf78f7f78
226c1c99a6559b99e7711dce45678c0e661eac23
Update libcc for electron/libchromiumcontent#285 This fixes non-client area DPI scaling on recent Windows 10 versions. See discussion in #8786.
[ { "path": "script/lib/config.py", "patch": "@@ -9,7 +9,7 @@\n BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \\\n 'https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent'\n LIBCHROMIUMCONTENT_COMMIT = os.getenv('LIBCHROMIUMCONTENT_COMMIT') or \\\n- '8d551064d2b3d11f89ce8d5c4610f34e0...
2017-04-17T20:21:43
golang/go
3a067b288ef235fdbc88220ea5bb384e0474f09b
c075c21ba532bd4d00158708e8c2981b8fdc19ca
cmd/internal/obj/ppc64: add ISA 3.1 instructions Use ppc64map (from x/arch) to generate ISA 3.1 support for the assembler. A new file asm9_gtables.go is added which contains generated code to encode ISA 3.1 instructions, a function to assist filling out the oprange structure, a lookup table for the fixed bits of each ...
[ { "path": "src/cmd/asm/internal/arch/arch.go", "patch": "@@ -377,6 +377,11 @@ func archPPC64(linkArch *obj.LinkArch) *Arch {\n \t\t\tinstructions[s] = obj.As(i) + obj.ABasePPC64\n \t\t}\n \t}\n+\t// The opcodes generated by x/arch's ppc64map are listed in\n+\t// a separate slice, add them too.\n+\tfor i, s ...
2021-05-21T16:26:01
vercel/next.js
8e6d51f4fa9aa015552f1dc1722540c986a71c06
4d330a850062e844226c0c53cecf3fec410a8de1
Update `swc_core` to `v0.86.81` (#58517) ### What? Update swc crates. Diff: https://github.com/swc-project/swc/compare/09b3003e589409e1fffe32cf5e3328d946bd270e...c566b73bfbcd24fc34eedc2baf62d0afb8609636 ### Why? To fix bugs, and improve minification. ### How? turbopack counterpart: https://github.co...
[ { "path": "Cargo.lock", "patch": "@@ -322,7 +322,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-231126.2#12cdfed2cf3467d1cd87e12d092813d12ae3c3b8\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-11-27T10:02:25
facebook/react
ff52e3df00ab7ed1375f46d81c122a614e202bb9
b48a534f6f64e191a8334e0c3ddd11c0bcf864ef
Move defaultProps resolution and type validation to the descriptor This copies the propType and contextType validation to a wrapper around the descriptor factory. By doing the validation early, we make it easier to track down bugs. It also prepares for static type checking which should be done at the usage site. This...
[ { "path": "src/browser/ReactDOM.js", "patch": "@@ -20,6 +20,7 @@\n \"use strict\";\n \n var ReactDescriptor = require('ReactDescriptor');\n+var ReactDescriptorValidator = require('ReactDescriptorValidator');\n var ReactDOMComponent = require('ReactDOMComponent');\n \n var mergeInto = require('mergeInto');\n...
2014-05-05T23:59:45
rust-lang/rust
39ac6e1eed6312dfb41cd45410804bf629a8b7d1
6e4644fd31d3bd1e0ece59112d84f9c7ed1ebb67
update a few fixmes, and one trivial improvement
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/next_solver/interner.rs", "patch": "@@ -22,8 +22,8 @@ use rustc_type_ir::inherent::{\n use rustc_type_ir::lang_items::TraitSolverLangItem;\n use rustc_type_ir::solve::SizedTraitKind;\n use rustc_type_ir::{\n- AliasTerm, AliasTermKind, AliasTy, EarlyBin...
2025-08-13T08:01:17
golang/go
7fda98a8d90139fed07d7f8ca80d248a5cbc1e93
e7a2014fac885392e14205c93fff3fd8db84fa8d
cmd/link: support -fno-plt compiled gcc objects on ppc64le This is the initial trivial implemenation. Further improvements can be made for local calls. A test is added, but the -fno-plt option is ignored by gcc if binutils does not support inline plt relocations, so the test is effectively skipped on such hosts. Fix...
[ { "path": "src/cmd/go/testdata/script/test_ppc64le_cgo_inline_plt.txt", "patch": "@@ -0,0 +1,38 @@\n+# Verify the linker will correctly resolve\n+# ppc64le objects compiled with gcc's -fno-plt\n+# option. This inlines PLT calls, and generates\n+# additional reloc types which the internal linker\n+# should h...
2022-06-13T15:59:31
facebook/react
486b3c0bc5fc104d3b106b4ab58136b392753150
d6731e7a0b9780fb16f585a58b3190945cd06885
Move envify from peerDependencies to dependencies Fixes #1482, closes #1483. This shouldn't make a practical difference to us and will apparently fix browserify-cdn.
[ { "path": "npm-react/package.json", "patch": "@@ -27,7 +27,7 @@\n \"engines\": {\n \"node\": \">=0.10.0\"\n },\n- \"peerDependencies\": {\n+ \"dependencies\": {\n \"envify\": \"~1.2.0\"\n },\n \"browserify\": {", "additions": 1, "deletions": 1, "language": "JSON" } ]
2014-05-05T23:25:33
vercel/next.js
4465b1856f44f9d5368cd404f9c05786b07b2000
2a8f7ae1b11d78abe3cb9f6a5c15ff811a397f6c
fix uniqueness of layers (#58872) ### What? * rename `ssr` in app to `app-ssr` * rename `_` to `-` in layer names ### Why? `ssr` layer name was used twice, but it must be unique to avoid hanging compilation Closes PACK-2036
[ { "path": "packages/next-swc/crates/next-api/src/app.rs", "patch": "@@ -232,7 +232,7 @@ impl AppProject {\n self.project().server_compile_time_info(),\n self.rsc_module_options_context(),\n self.rsc_resolve_options_context(),\n- Vc::cell(\"rsc\".to_string()),\n...
2023-11-24T16:53:28
nodejs/node
0e92ae64f01140bc527b5a02d7f154dca882ef09
61189d3981ef49885f8d98eef2ac0207b6e59f40
worker: fix race condition in node_messaging.cc `AddToIncomingQueue()` relies on `owner_` only being modified with `mutex_` being locked, but in these two places, that didn’t happen. Modify them to use `Detach()` instead, which has the same effect as setting `owner_ = nullptr` here, but does it with proper locking. ...
[ { "path": "src/node_messaging.cc", "patch": "@@ -464,8 +464,7 @@ void MessagePortData::Disentangle() {\n }\n \n MessagePort::~MessagePort() {\n- if (data_)\n- data_->owner_ = nullptr;\n+ if (data_) Detach();\n }\n \n MessagePort::MessagePort(Environment* env,\n@@ -662,10 +661,9 @@ void MessagePort::OnM...
2020-05-16T10:03:32
rust-lang/rust
4bbbe6ee2b0c3c630d605c47ba0d4215d2522240
6e4644fd31d3bd1e0ece59112d84f9c7ed1ebb67
fix: Attach db for inlay hint compute
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/next_solver/interner.rs", "patch": "@@ -289,7 +289,7 @@ impl<'db> DbInterner<'db> {\n krate: None,\n block: None,\n })\n- .unwrap()\n+ .expect(\"db is expected to be attached\")\n }\n \n pub fn new_wit...
2025-08-13T07:42:32
electron/electron
55e9c3196a59a92cf0b55ea2b1639e7b54b97174
b82845dc4a6908f4dc2903073a5d25d081eecbf2
Fix building on Linux
[ { "path": "brightray/browser/browser_main_parts.cc", "patch": "@@ -163,7 +163,7 @@ void BrowserMainParts::PreEarlyInitialization() {\n base::FeatureList::SetInstance(std::move(feature_list));\n \n #if defined(USE_X11)\n- views::LinuxUI::SetInstance(BuildGtk2UI());\n+ views::LinuxUI::SetInstance(BuildGtk...
2017-04-17T07:52:24
golang/go
a7db14241cf59f9d3bf4e1a68cf9e503e1a05211
e0822b55ac2076112507016bc08d52999c25d728
syscall: use fcntl F_DUP2FD_CLOEXEC in forkAndExecInChild on solaris Use fcntl(oldfd, F_DUP2FD_CLOEXEC, newfd) to duplicate the file descriptor and mark is as close-on-exec instead of dup2 & fcntl. Note that the value for F_DUP2FD_CLOEXEC is different on Solaris and Illumos and thus the definition is moved from zerro...
[ { "path": "src/syscall/exec_libc.go", "patch": "@@ -199,7 +199,7 @@ func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr\n \t// so that pass 2 won't stomp on an fd it needs later.\n \tif pipe < nextfd {\n \t\tswitch runtime.GOOS {\n-\t\tcase \"illumos\":\n+\t\tcase \"illumos\", \...
2022-09-14T08:45:15