Index: language/c/libc/stdio/current/src/common/fclose.cxx =================================================================== RCS file: /home/users/cvs/ESW/ThirdParty/eCos_NodeMPC5200/packages/language/c/libc/stdio/current/src/common/fclose.cxx,v retrieving revision 1.1.1.1 diff -u -5 -p -r1.1.1.1 fclose.cxx --- language/c/libc/stdio/current/src/common/fclose.cxx 23 May 2006 13:28:40 -0000 1.1.1.1 +++ language/c/libc/stdio/current/src/common/fclose.cxx 27 Jun 2008 08:40:48 -0000 @@ -107,19 +107,15 @@ fclose( FILE *stream ) __THROW Cyg_libc_stdio_files::unlock(); errno = err; return EOF; } -#ifdef CYGFUN_INFRA_EMPTY_DELETE_FUNCTIONS // Explicitly call destructor - this flushes the output too real_stream->~Cyg_StdioStream(); // and free it free(real_stream); -#else - delete real_stream; -#endif // CYGFUN_INFRA_EMPTY_DELETE_FUNCTIONS // and mark the stream available for use Cyg_libc_stdio_files::set_file_stream(i, NULL); Cyg_libc_stdio_files::unlock();