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

ls: --colors=always -l . calls llistxattr twice for the same file

オープン
#15,207 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Franklin-Qi がすでに取り組んでいます。

2026年10月9日 から。

  • #15210 @Franklin-Qi による — オープン

評価

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

調査の方向性

The payload names only the ls command run with --color=always -l . and the llistxattr system calls seen in the strace output, so start by reproducing that trace against a build of this repository's ls. Find where the extended-attribute listing is requested for each entry and why it runs twice when color output is enabled. Linked pull request #15210 is already open against this issue, so read it first and coordinate before starting a parallel fix. Done means one llistxattr call per file in the same strace run.

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

説明

S - In progress U - ls
> ls
file  file2
$ strace --trace=llistxattr ls --color=always -l .>/dev/null
llistxattr("./file", "", 4096)          = 0
llistxattr("./file2", "", 4096)         = 0
llistxattr("./file", "", 4096)          = 0
llistxattr("./file2", "", 4096)         = 0
+++ exited with 0 +++
$ strace --trace=llistxattr '/home/a/bin/gnu9.12/ls' --color=always -l .>/dev/null
llistxattr(".", "", 152)                = 0
llistxattr("file2", "", 152)            = 0
llistxattr("file", "", 152)             = 0
+++ exited with 0 +++
主要言語
Rust
スター
24.3k
フォーク
2.1k
平均マージ
1日 21時間
マージ済み PR(30日)
331

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

uutils/coreutils のほかの issue

uutils/coreutils の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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