1 diff -aur ulatencyd-0.5.0/src/ulatencyd.c ulatencyd-0.5.0.patched/src/ulatencyd.c
2 --- ulatencyd-0.5.0/src/ulatencyd.c 2011-04-05 19:01:20.000000000 +0200
3 +++ ulatencyd-0.5.0.patched/src/ulatencyd.c 2011-12-18 04:40:06.000000000 +0100
7 GOptionContext *context;
17 - close(STDIN_FILENO);
18 - close(STDOUT_FILENO);
19 - close(STDERR_FILENO);
20 + // ensure std* exist but do nothing
21 + i=open("/dev/null",O_RDWR);
22 + dup2(i, STDIN_FILENO);
23 + dup2(i, STDOUT_FILENO);
24 + dup2(i, STDERR_FILENO);