소스 검색

Fix the empty dir bug

master
lostd lostd 10 년 전
부모
커밋
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) {


불러오는 중...
취소
저장