浏览代码

Show error at source

master
Arun Prakash Jana 5 年前
父节点
当前提交
e7147c1f39
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      src/nnn.c

+ 4
- 4
src/nnn.c 查看文件

@@ -6440,8 +6440,10 @@ static char *load_input()
DPRINTF_D(total_read);
DPRINTF_D(chunk_count);

if (!entries)
if (!entries) {
fprintf(stderr, "0 entries\n");
goto malloc_1;
}

input[total_read] = '\0';

@@ -6821,10 +6823,8 @@ int main(int argc, char *argv[])
if (!isatty(STDIN_FILENO)) {
/* This is the same as listpath */
initpath = load_input();
if (!initpath) {
fprintf(stderr, "!initpath\n");
if (!initpath)
return _FAILURE;
}

/* We return to tty */
dup2(STDOUT_FILENO, STDIN_FILENO);


正在加载...
取消
保存