ls: --colors=always -l . calls llistxattr twice for the same file
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
> 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 +++
- Lenguaje dominante
- Rust
- Estrellas
- 24.3k
- Forks
- 2.1k
- Merge medio
- 1 d 21 h
- PR fusionados (30 d)
- 331
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de uutils/coreutils
-
mv: wrong reason when the source can't be stat'ed (missing 'x/' says Not a directory, EACCES says No such file)Posiblemente ocupada @emirmrkaljevic la tomó hoy. AbiertoU - mv
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
uutils/coreutils#15704 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
U - expand U - unexpand
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
U - sort
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
uutils/coreutils#15598 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
U - sort
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
uutils/coreutils#15596 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
U - sort
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
Todos los issues de uutils/coreutils
Issues similares
-
bug: workspace access hint suggests a --subject command that fails for hyphen-leading OIDC subjectsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
`last_error_thread_local_then_global` fails when it runs beside the `lumen_event_detail` testAbiertoA-FFI C-Testing D-Straightforward S-Ready
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
docs priority:P3 size:XS
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Appimage ConventionsAbiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día