Update ooo320-m1
[ooovba.git] / applied_patches / 0114-unxsplash-finish-on-hangup.diff
blob466ad80a5c03ed321afeacbca48052e19f3b1953
1 --- desktop/unx/source/start.c 2008-02-11 12:05:50.000000000 +0100
2 +++ desktop/unx/source/start.c 2008-02-11 12:05:45.000000000 +0100
3 @@ -568,7 +568,9 @@ show_splash( int status_fd )
5 /* read from pipe if data available */
6 nRetval = poll( &aPfd, 1, 50 );
7 - if ( nRetval > 0 )
8 + if ( aPfd.revents & ( POLLERR | POLLHUP | POLLNVAL ) )
9 + bFinish = sal_True;
10 + else if ( nRetval > 0 )
11 bFinish = !read_percent( status_fd, &nPercent );
12 else if ( nRetval < 0 )
13 bFinish = sal_True;