Merge commit 'refs/remotes/origin/5.1'
Allan CORNET [Fri, 3 Apr 2009 15:09:36 +0000 (17:09 +0200)]
1  2 
scilab/modules/fileio/sci_gateway/c/sci_mfprintf.c
scilab/modules/fileio/sci_gateway/c/sci_mfscanf.c

  #include "gw_fileio.h"
  #include "filesmanagement.h"
  #include "localization.h"
+ #include "BOOL.h"
+ #include "scilabmode.h"
+ /*--------------------------------------------------------------------------*/ 
+ #ifdef _MSC_VER
+ static BOOL forceSTDERRredirect = TRUE;
+ #endif
  /*--------------------------------------------------------------------------*/ 
 -int int_objfprintf(char *fname,unsigned long fname_len)
 +int sci_fprintf(char *fname,unsigned long fname_len)
  {
        FILE *f;
+       BOOL isSTD = FALSE;
        int fileMode = 0;
        int l1 = 0, m1 = 0, n1 = 0;
        int l2 = 0,m2 = 0,n2 = 0;