nsca 2.9 ubuntu compile fix

Andreas Ericsson ae at op5.se
Thu Jan 12 14:30:07 CET 2012


On 01/12/2012 09:55 AM, Matthieu Kermagoret wrote:
> On Thu, Jan 12, 2012 at 9:44 AM, Andreas Ericsson<ae at op5.se>  wrote:
>> Your installation should accept open() calls with only two arguments, so
>> it seems as though it's broken and the patch should be dropped. If the
>> permission argument is missing, it uses (0777&  umask) for permissions.
>>
> 
> Wrong. Manual states below "mode  specifies  the  permissions to use
> in case a new file is created.  This argument must be supplied when
> O_CREAT is specified in flags;" and this is consistent with POSIX.
> 

Oh, you're right. Mea culpa. Let's hope the nsca maintainer picks it up
then.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2




More information about the Developers mailing list