# Patch created by krokas
# Date: Thu Oct 30 20:52:50 MSK 2008
# Repository: pnet
# Comments:
# 
#### End of Preamble ####

#### Patch data follows ####
Index: engine/jitc_pinvoke.c
===================================================================
RCS file: /sources/dotgnu-pnet/pnet/engine/jitc_pinvoke.c,v
retrieving revision 1.10
diff -c -r1.10 jitc_pinvoke.c
*** engine/jitc_pinvoke.c	24 Aug 2008 17:45:31 -0000	1.10
--- engine/jitc_pinvoke.c	30 Oct 2008 17:52:53 -0000
***************
*** 471,476 ****
--- 471,477 ----
  
  		default:
  		{
+ 			fflush(stdout);
  			/* There is an invalid calling convention in the metadata. */
  			return 0;
  		}
***************
*** 2184,2190 ****
  #ifdef IL_JIT_THREAD_IN_SIGNATURE
  	jitInvokeTypes[1] = jit_type_void_ptr;
  #endif
! 	delInvokeSignature = jit_type_create_signature(jit_abi_cdecl,
  							returnType,
  							jitInvokeTypes,
  #ifdef IL_JIT_THREAD_IN_SIGNATURE
--- 2185,2191 ----
  #ifdef IL_JIT_THREAD_IN_SIGNATURE
  	jitInvokeTypes[1] = jit_type_void_ptr;
  #endif
! 	delInvokeSignature = jit_type_create_signature(IL_JIT_CALLCONV_DEFAULT,
  							returnType,
  							jitInvokeTypes,
  #ifdef IL_JIT_THREAD_IN_SIGNATURE
#### End of Patch data ####
