소스 검색

Show stat when file has single quote

master
Arun Prakash Jana 6 년 전
부모
커밋
379fdf50fa
No known key found for this signature in database GPG 키 ID: A75979F35C080412
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/nnn.c

+ 2
- 2
src/nnn.c 파일 보기

@@ -2440,9 +2440,9 @@ static bool show_stats(const char *fpath, const char *fname, const struct stat *
if (fd == -1)
return FALSE;

r = xstrlcpy(g_buf, "stat \'", PATH_MAX);
r = xstrlcpy(g_buf, "stat \"", PATH_MAX);
r += xstrlcpy(g_buf + r - 1, fpath, PATH_MAX);
g_buf[r - 2] = '\'';
g_buf[r - 2] = '\"';
g_buf[r - 1] = '\0';
DPRINTF_S(g_buf);



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