From 5d3725f9d972cde917ab9b076cb0b89b33557c7a Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sun, 4 May 2008 20:47:08 -0700 Subject: Removed a lot of tool code. --- src/win95/mishchnk.cpp | 42 ------------------------------------------ 1 file changed, 42 deletions(-) (limited to 'src/win95/mishchnk.cpp') diff --git a/src/win95/mishchnk.cpp b/src/win95/mishchnk.cpp index 649eed2..a0e3795 100644 --- a/src/win95/mishchnk.cpp +++ b/src/win95/mishchnk.cpp @@ -10,17 +10,9 @@ #include "huffman.hpp" -#ifdef cencon -#define new my_new -#endif - - // Class Lockable_Chunk_With_Children functions -#if cencon -#else extern char * users_name; -#endif //macro for helping to force inclusion of chunks when using libraries FORCE_CHUNK_INCLUDE_IMPLEMENT(mishchnk) @@ -1033,12 +1025,6 @@ BOOL File_Chunk::check_file() } -#if InterfaceEngine - - extern File_Chunk * Env_Chunk; - -#endif - BOOL File_Chunk::update_file() { @@ -1074,22 +1060,6 @@ BOOL File_Chunk::update_file() #else -#if InterfaceEngine - - // log, to track error - char fname [256]; - char * dotpos; - - strcpy (fname, filename); - - dotpos = strrchr (fname, '.'); - - sprintf (dotpos, ".log"); - - FILE * log = fopen (fname, "a"); - -#endif - if (!filename) return FALSE; twprintf("Updating %s\n",filename); @@ -1237,13 +1207,6 @@ BOOL File_Chunk::update_file() ed = (Environment_Data_Chunk *)lookup_single_child ("REBENVDT"); if (ed) { - -#if InterfaceEngine - - fprintf (log, "Env_Data %d %d %d %d", ed->updated, ed->local_lock, ed->updated_outside, ed->external_lock); - -#endif - if (ed->updated && !(ed->updated_outside || ed->external_lock)) ed->update_chunk_in_file(rif_file); @@ -1272,11 +1235,6 @@ BOOL File_Chunk::update_file() CloseHandle (rif_file); -#if InterfaceEngine - - fclose (log); - -#endif return TRUE; #endif //DisableLock -- cgit v1.3