Changeset 900 – HoverRace

Changeset 900

Show
Ignore:
Timestamp:
03/09/10 17:54:51 (5 months ago)
Author:
pootle
Message:

Give some more debug output to help diagnose exception on build server that I
can't seem to reproduce elsehow.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/updater/main.cpp

    r899 r900  
    199199            string digestFile = current_path().file_string() + "/temp_patch/DIGEST"; 
    200200            FILE *digest = fopen(digestFile.c_str(), "wb"); 
     201            printf("Creating DIGEST file..."); 
    201202 
    202203            // write files to patch to digest 
     
    206207                    (*it).erase(0, 1); 
    207208                fprintf(digest, "P %s\n", (*it).c_str()); 
     209                printf("P %s\n", (*it).c_str()); 
    208210            } 
    209211 
     
    213215                    (*it).erase(0, 1); 
    214216                fprintf(digest, "A %s\n", (*it).c_str()); 
     217                printf("A %s\n", (*it).c_str()); 
    215218            } 
    216219 
     
    220223                    (*it).erase(0, 1); 
    221224                fprintf(digest, "D %s\n", (*it).c_str()); 
     225                printf("D %s\n", (*it).c_str()); 
    222226            } 
    223227 
     
    225229 
    226230            // now, we zip everything up 
     231            printf("Creating %s...\n", patchFile.c_str()); 
    227232            HZIP hz; 
    228233 
     
    243248 
    244249            // remove all our temporary files 
     250            printf("Removing temporary directory...\n"); 
    245251            remove_all("temp_patch"); 
    246252 
     253            printf("Complete!\n"); 
    247254            return 0; 
    248255        }