To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100351 Issue #|100351 Summary|Fix sal implementation of file opening for MacOS Component|framework Version|DEV300m40 Platform|All URL| OS/Version|Mac OS X Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|mav Reported by|mav
------- Additional comments from [email protected] Thu Mar 19 09:17:47 +0000 2009 ------- On 03/17/09 18:01, Pavel Lastovicka wrote: > Hello, > > I was looking at the source code in sal/osl/unx/file.cxx. > And there in function osl_openFile() 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 fcntl call should be fcntl(fd, F_SETFL, flags), shouldn't it? --------------------------------------------------------------------- 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]
