Skip to content

Commit 1b78616

Browse files
committed
Debug
1 parent 7ef624f commit 1b78616

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ script:
7272
./autogen.sh
7373
./configure ${CONFFLAGS} || (cat config.log; exit 1)
7474
make
75+
strace ./pick -X <Makefile
7576
make distcheck || (find . -name test-suite.log | xargs -t cat; exit 1)
7677
;;
7778
coverage)

compat-sandbox.c

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ sandbox(int stage)
3838
#include <stdio.h>
3939
#include <stdlib.h>
4040
#include <string.h>
41+
#include <unistd.h>
4142

4243
#include "compat.h"
4344

@@ -57,6 +58,7 @@ handle_sigsys(int signum __attribute__((unused)), siginfo_t *info,
5758
void *ctx __attribute__((unused)))
5859
{
5960
errx(1, "disallowed syscall #%d", info->si_syscall);
61+
fflush(stderr);
6062
}
6163

6264
void

0 commit comments

Comments
 (0)