Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Path resolution should be consistent with WASI spec

オープン
#293 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
c

調査の方向性

WASI のパス解決に関するドキュメントと、issue #269 で提案されている進め方から始めてください。基盤となる OS のシステムコールを調べる前に、path_open と関連するパス処理関数を調査してください。a/. にファイルを作成するようなケースも含め、パスの各コンポーネントが 1 つずつ解決され、動作が WASI 仕様と一致すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Currently, in functions such as path_open, uvwasi first normalizes the path. For example, a path such as a/./../a/b would be normalized to a/b before calling the underlying OS syscall.

This behavior is inconsistent with the WASI documentation, which specifies that path components should be resolved one by one.

This causes seemingly simple WASI calls to behave differently on Node (uvwasi) and many other runtimes like Wasmtime, WasmEdge, etc. For example, a path_open call that tries to create a file a/. will fail on Wasmtime while it succeeds on Node.

@cjihrig has previously suggested a path forward in #269. I just want to open a dedicated issue to track this.

主要言語
C
スター
272
フォーク
60
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nodejs/uvwasi のほかの issue

nodejs/uvwasi の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。