To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100362 Issue #|100362 Summary|Programming typo in osl_openFile() Component|porting Version|DEV300m42 Platform|Unknown URL| OS/Version|Unix, X11 Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|mav Reported by|xlastovi
------- Additional comments from xlast...@openoffice.org Thu Mar 19 14:12:44 +0000 2009 ------- In the source code of the file sal/osl/unx/file.cxx, in osl_openFile(), there is the following code: /* remove the NONBLOCK flag again */ flags = fcntl(fd, F_GETFL, NULL); flags &= ~O_NONBLOCK; if( 0 > fcntl(fd, F_GETFL, flags) ) return oslTranslateFileError(OSL_FET_ERROR, errno); The second call to fcntl() should be: fcntl(fd, F_SETFL, flags) This was probably caused by an overlook. --------------------------------------------------------------------- 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: issues-unsubscr...@porting.openoffice.org For additional commands, e-mail: issues-h...@porting.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org