Explorar el Código

Emulate ls -F completely including sockets and FIFOs

master
lostd hace 10 años
padre
commit
12da2ff028
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. +6
    -0
      noice.c

+ 6
- 0
noice.c Ver fichero

@@ -409,6 +409,12 @@ printent(struct entry *ent, int active)
} else if (S_ISLNK(ent->mode)) {
cm = '@';
maxlen--;
} else if (S_ISSOCK(ent->mode)) {
cm = '=';
maxlen--;
} else if (S_ISFIFO(ent->mode)) {
cm = '|';
maxlen--;
} else if (ent->mode & S_IXUSR) {
cm = '*';
maxlen--;


Cargando…
Cancelar
Guardar