comparison src/lstream.c @ 241:f955c73f5258 r20-5b19

Import from CVS: tag r20-5b19
author cvs
date Mon, 13 Aug 2007 10:16:16 +0200
parents 262b8bb4a523
children 727739f917cb
comparison
equal deleted inserted replaced
240:835e739f3c17 241:f955c73f5258
896 { 896 {
897 struct stdio_stream *str = STDIO_STREAM_DATA (stream); 897 struct stdio_stream *str = STDIO_STREAM_DATA (stream);
898 if (stream->flags & LSTREAM_FL_WRITE) 898 if (stream->flags & LSTREAM_FL_WRITE)
899 return fflush (str->file); 899 return fflush (str->file);
900 else 900 else
901 /* call fpurge? Only exists on some systems. */ 901 /* call fpurge? Only exists on some systems. #### Why not add a
902 configure check for HAVE_FPURGE and utilize it on systems that
903 support it? --hniksic */
902 return 0; 904 return 0;
903 } 905 }
904 906
905 static int 907 static int
906 stdio_closer (Lstream *stream) 908 stdio_closer (Lstream *stream)