JS_ToCStringLen2 contract is documented wrong
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 45/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c
調査の方向性
The issue is about the documentation of JS_ToCStringLen2, the C API function that converts a JS string to a C string. Find that function's declaration and its doc comment in the public header, then check the implementation to confirm the encoding it returns. Read the linked rquickjs report for context. Done means the doc comment states the actual encoding (WTF-8, which can hold unpaired surrogates) instead of UTF-8, and the wording is consistent with the implementation.
索引モデルが issue の本文から書いたものです。
説明
Following an issue report on https://github.com/DelSkayn/rquickjs/issues/805, I looked into the codebase and it does seem like quickjs always returned WTF-8 from the very early commits. But the documentation states that the C API will return UTF-8, this is not true.
- 主要言語
- C
- スター
- 3.9k
- フォーク
- 389
- 平均マージ
- 2日 2時間
- マージ済み PR(30日)
- 19
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
quickjs-ng/quickjs のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
quickjs-ng/quickjs#1959 ·
メンテナーはふだん 1 日以内に返信
-
JS_SetPropertyInternal2 loses the value when a lazy property on the prototype runs out of memory対応中かも @TheNetherWatcher が 6 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
quickjs-ng/quickjs#1852 ·
メンテナーはふだん 1 日以内に返信
-
Object.prototype.propertyIsEnumerable converts `this` before the property key対応中かも @SomSamantray が 48 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
quickjs-ng/quickjs#1772 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
quickjs-ng/quickjs#1957 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Slow compilation of large lexical scopes対応中かも @0x5457 が 3 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
quickjs-ng/quickjs#1953 ·
メンテナーはふだん 1 日以内に返信
quickjs-ng/quickjs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
libsndfile/libsndfile#1238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
DaveGamble/cJSON#1143 ·
-
Claude:Bug GPT:Bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
open5gs/open5gs#5161 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信