Re: [Nagios-devel] nsca 2.9 ubuntu compile fix
Posted: Thu Jan 12, 2012 9:19 am
On Thu, Jan 12, 2012 at 9:44 AM, Andreas Ericsson 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.
Patch should be included IMHO.
Best regards,
--=20
Matthieu KERMAGORET | D=C3=A9veloppeur
[email protected]
MERETHIS est =C3=A9diteur du logiciel Centreon.
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
> 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.
Patch should be included IMHO.
Best regards,
--=20
Matthieu KERMAGORET | D=C3=A9veloppeur
[email protected]
MERETHIS est =C3=A9diteur du logiciel Centreon.
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]