Explorar el Código

Skip entries in case fstatat() fails, do not exit

master
Arun Prakash Jana hace 8 años
padre
commit
968beb434a
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: A75979F35C080412
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. +2
    -3
      nnn.c

+ 2
- 3
nnn.c Ver fichero

@@ -1814,9 +1814,8 @@ dentfill(char *path, struct entry **dents,
continue;

if (fstatat(fd, namep, &sb, AT_SYMLINK_NOFOLLOW) == -1) {
if (*dents)
free(*dents);
errexit();
DPRINTF_S(namep);
continue;
}

if (n == total_dents) {


Cargando…
Cancelar
Guardar