Bu web sitesi JavaScript ile daha iyi çalışır.
Ana Sayfa
Keşfet
Yardım
Giriş Yap
rinri
/
slstatus
İzle
1
Yıldızla
0
Çatalla
0
Kod
Konular
0
Değişiklik İstekleri
0
Sürümler
0
Wiki
Aktivite
Kaynağa Gözat
Check return value of pclose()
master
Laslo Hunhold
6 yıl önce
committed by
Aaron Marcher
ebeveyn
c12b9cc50b
işleme
b640cc489b
1 değiştirilmiş dosya
ile
4 ekleme
ve
1 silme
Görünümü Böl
Diff Seçenekleri
İstatistikleri Göster
Yama Dosyasını İndir
Diff Dosyasını İndir
+4
-1
components/run_command.c
+ 4
- 1
components/run_command.c
Dosyayı Görüntüle
@@ -16,7 +16,10 @@ run_command(const char *cmd)
return NULL;
}
p = fgets(buf, sizeof(buf) - 1, fp);
pclose(fp);
if (pclose(fp) < 0) {
warn("pclose '%s':", cmd);
return NULL;
}
if (!p) {
return NULL;
}
Yaz
Önizleme
Yükleniyor…
İptal
Kaydet