[BACK]Return to io.ox.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / old

Diff for /OpenXM_contrib2/asir2000/old/io.ox.c between version 1.1 and 1.2

version 1.1, 2002/07/25 04:48:57 version 1.2, 2003/02/14 22:29:17
Line 44 
Line 44 
  * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY   * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  * $OpenXM$   * $OpenXM: OpenXM_contrib2/asir2000/old/io.ox.c,v 1.1 2002/07/25 04:48:57 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 404  void clear_readbuffer()
Line 404  void clear_readbuffer()
 */  */
 }  }
   
 #if MPI  #if defined(MPI)
 int ox_data_is_available(int s)  int ox_data_is_available(int s)
 {  {
         return 1;          return 1;
Line 687  void ox_flush_stream(int s)
Line 687  void ox_flush_stream(int s)
         if ( _fileno(&iofp[s].out->fp) < 0 )          if ( _fileno(&iofp[s].out->fp) < 0 )
                 cflush(iofp[s].out);                  cflush(iofp[s].out);
         else          else
 #elif MPI  #elif defined(MPI)
         if ( (char)fileno(&iofp[s].out->fp) < 0 )          if ( (char)fileno(&iofp[s].out->fp) < 0 )
                 cflush(iofp[s].out);                  cflush(iofp[s].out);
         else          else
Line 701  void ox_flush_stream_force(int s)
Line 701  void ox_flush_stream_force(int s)
         if ( _fileno(&iofp[s].out->fp) < 0 )          if ( _fileno(&iofp[s].out->fp) < 0 )
                 cflush(iofp[s].out);                  cflush(iofp[s].out);
         else          else
 #elif MPI  #elif defined(MPI)
         if ( (char)fileno(&iofp[s].out->fp) < 0 )          if ( (char)fileno(&iofp[s].out->fp) < 0 )
                 cflush(iofp[s].out);                  cflush(iofp[s].out);
         else          else

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>