Package: pdp Version: 1:0.12.5-1 Severity: important Tags: patch Justification: fails to build from source
http://launchpadlibrarian.net/37442322/buildlog_ubuntu-lucid-i386.pdp_1%3A0.12.5-1_FAILEDTOBUILD.txt.gz inlined from 'rawout_thread' at pdp_rawout.c:141: /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
=== modified file 'modules/generic/pdp_rawout.c' --- a/modules/generic/pdp_rawout.c 2009-12-10 10:20:53 +0000 +++ b/modules/generic/pdp_rawout.c 2010-01-08 20:47:34 +0000 @@ -138,7 +138,8 @@ /* open pipe */ if (-1 == (pipefd = open(x->x_pipe->s_name, O_WRONLY|O_NONBLOCK|O_APPEND))){ - if (-1 == (pipefd = open(x->x_pipe->s_name, O_WRONLY|O_CREAT))){ + if (-1 == (pipefd = open(x->x_pipe->s_name, O_WRONLY|O_CREAT, + S_IRUSR|S_IRGRP|S_IROTH|S_IWUSR|S_IWGRP|S_IWOTH))){ perror(me); goto exit; }