Kaynağa Gözat

Remove blocking pipe open in child

master
Arun Prakash Jana 5 yıl önce
ebeveyn
işleme
609561494f
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: A75979F35C080412
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c Dosyayı Görüntüle

@@ -4316,7 +4316,7 @@ static bool run_selected_plugin(char **path, const char *file, char *runfile, ch
exitcurses();

if (fork() == 0) { // In child
int wfd = open(g_pipepath, O_WRONLY | O_NONBLOCK);
int wfd = open(g_pipepath, O_WRONLY);

if (wfd == -1)
_exit(EXIT_FAILURE);


Yükleniyor…
İptal
Kaydet