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] Wed Apr 11 18:06:21 +0000 2007 ------- jkim->sb FreeBSD 4.x does not have _SC_GETPW_R_SIZE_MAX in unistd.h but it is not an issue any more since we dropped FreeBSD 4.x support. All supported FreeBSD versions have _SC_GETPW_R_SIZE_MAX in unistd.h but it is not implemented, thus it returns -1, errno EINVAL, and _SC_GETPW_R_SIZE_MAX is 71. As I noted earlier on Issue 65004, it is still an open issue for FreeBSD: http://www.freebsd.org/cgi/query-pr.cgi?pr=80293 IMHO, FreeBSD has to return errno 0 instead because it is dynamically allocated. However, it is not quite right either. SUSv3 says: 'If name is an invalid value, sysconf() shall return -1 and set errno to indicate the error. If the variable corresponding to name has no limit, sysconf() shall return -1 without changing the value of errno. Note that indefinite limits do not imply infinite limits; see <limits.h>.' Unfortunately FreeBSD falls under indefinite category and SUSv3 is not clear on this issue. FYI, NetBSD chose an arbitrary number 1024, Apple chose 0, OpenBSD returns -1 with errno EINVAL although all the BSDs share the same codebase, AFAIK. Now, how do we fix this? Only way to fix it for now is treating UNKNOWN and ERROR cases equal, i.e., return some sensible number such as 1024, which will satisfy BSDs on the planet without breaking other OSs. ;-) --------------------------------------------------------------------- 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]
