Hello Mikhail,
I filed this into the issue #100362 and assigned it to you.
Bye
Pavel
Mikhail Voytenko napsal(a):
Hi Pavel,
You are right, it looks like a typo. Could you please write an issue to
me ( m...@openoffice.org ).
Thanks,
Mikhail.
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?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org