浏览代码

Ignore SIGPIPE, caused by key handler exiting before all files got printed, fixes issue #188

master
Bert Münnich 9 年前
父节点
当前提交
6216bf6c2d
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. +1
    -1
      Makefile
  2. +2
    -0
      main.c

+ 1
- 1
Makefile 查看文件

@@ -1,4 +1,4 @@
VERSION := git-20141127
VERSION := git-20141201

PREFIX := /usr/local
MANPREFIX := $(PREFIX)/share/man


+ 2
- 0
main.c 查看文件

@@ -798,6 +798,8 @@ int main(int argc, char **argv)
struct stat fstats;
r_dir_t dir;

signal(SIGPIPE, SIG_IGN);

parse_options(argc, argv);

if (options->clean_cache) {


正在加载...
取消
保存