To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76159
------- Additional comments from [EMAIL PROTECTED] Tue Apr 10 11:26:18 +0000
2007 -------
ericb->sb
The problem was already triggered in #i64769# : _SC_GETPW_R_SIZE_MAX is not
defined at all in
Panther.
Searching a bit using Google, I found some links confirming there is a problem,
fixed with 10.4
That's the reason why we defined _SC_GETPW_R_SIZE_MAX in sal/osl/unix/system.h
? (around line
372).
IMHO, I'd vote to treat errno==EINVAL similar to errno==0 , and reserve this to
PANTHER only
My first thought was to use something like #ifdef MACOSX &&
(BUILD_OS_MAJOR==10) &&
(BUILD_OS_MINOR==3) to limit the side effects, and I'm ok for what you proposed
:
if (errno == 0
#ifdef ...Panther...
/* sysconf(_SC_GETPW_R_SIZE_MAX) erroneously reports EINVAL on ...: */
|| errno == EINVAL
#endif
)
{
What do you think ?
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]