From 924908a09bfc917a6d8d1117b757c0b262f0d1cb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 23 Nov 2010 16:30:46 +0000 Subject: make more of the workbens build, and add performance test --- sal/workben/testpipe.cxx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'sal/workben/testpipe.cxx') diff --git a/sal/workben/testpipe.cxx b/sal/workben/testpipe.cxx index cd4671da714c..ed4b653dcf2a 100644 --- a/sal/workben/testpipe.cxx +++ b/sal/workben/testpipe.cxx @@ -44,8 +44,8 @@ const char szTestString[] = "This is a test"; char szBuffer[256]; const char * cp; -Size_t n; -sSize_t nChars; +size_t n; +sal_Int32 nChars; // osl specific variables oslPipe Pipe; @@ -91,10 +91,9 @@ int main (int argc, const char *argv[]) 0, osl_Process_NORMAL, 0, - NULL, NULL, - 0, - NULL, + NULL, + 0, &Process ); if( ProcessError != osl_Process_E_None ) @@ -158,8 +157,8 @@ int main (int argc, const char *argv[]) osl_freeProcessHandle( Process ); // schliesse die Pipes - osl_destroyPipe( C1Pipe ); - osl_destroyPipe( Pipe ); + osl_releasePipe( C1Pipe ); + osl_releasePipe( Pipe ); printf( "TestPipe Server: test passed.\n" ); return 0; -- cgit