Sfoglia il codice sorgente

Fix broken dir read from pipe

master
Arun Prakash Jana 5 anni fa
parent
commit
ce06bf15d6
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: A75979F35C080412
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      src/nnn.c

+ 2
- 0
src/nnn.c Vedi File

@@ -4273,6 +4273,8 @@ static void readpipe(int fd, char **path, char **lastname, char **lastdir)
if (len <= 0)
return;

/* Terminate the path read */
g_buf[len] = '\0';
nextpath = g_buf;
} else if (op == 'l') {
/* Remove last list mode path, if any */


||||||
x
 
000:0
Loading…
Annulla
Salva