ソースを参照

Fix the empty dir bug

master
lostd lostd 11年前
コミット
4384f09726
1個のファイルの変更4行の追加0行の削除
  1. +4
    -0
      noice.c

+ 4
- 0
noice.c ファイルの表示

@@ -330,6 +330,10 @@ nochange:
char *ext, *bin;
pid_t pid;

/* Cannot descend in empty directories */
if (n == 0)
goto nochange;

name = dents[cur]->d_name;

switch (dents[cur]->d_type) {


読み込み中…
キャンセル
保存