Hi!
Petr checked in glibc 2.7 into autobuild and we see build failures in quite
some packages that look like this one:
In function 'int open(const char*, int, ...)',
inlined from 'void NCurses::RedirectToLog()' at NCurses.cc:587:
/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
I think the error is speaking for itself, in case it does not: this is about
int open(const char *pathname, int flags);
int open(const char *pathname, int flags, mode_t mode);
So please fix the code, for most cases 0666 or 0600 should be the right
choice.
BTW: as far as I can tell, glibc 2.6 did not have a default value, so the code
in question should be buggy and can't have worked before.
Greetings, Stephan
--
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]