소스 검색

Another part that needs special handling for root

master
lostd 10 년 전
부모
커밋
f05f98e4fe
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. +5
    -1
      noice.c

+ 5
- 1
noice.c 파일 보기

@@ -468,7 +468,11 @@ nochange:


name = dents[cur].name; name = dents[cur].name;


asprintf(&pathnew, "%s/%s", path, name); /* Handle root case */
if (strcmp(path, "/") == 0)
asprintf(&pathnew, "/%s", name);
else
asprintf(&pathnew, "%s/%s", path, name);


DPRINTF_S(name); DPRINTF_S(name);
DPRINTF_S(pathnew); DPRINTF_S(pathnew);


||||||
x
 
000:0
불러오는 중...
취소
저장