/[jscoverage]/trunk/instrument.c
ViewVC logotype

Diff of /trunk/instrument.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 173 by siliconforks, Sun Jun 1 14:35:47 2008 UTC revision 174 by siliconforks, Sat Sep 20 23:27:14 2008 UTC
# Line 29  Line 29 
29  #include <sys/stat.h>  #include <sys/stat.h>
30  #include <sys/types.h>  #include <sys/types.h>
31    
32    #include "global.h"
33  #include "instrument-js.h"  #include "instrument-js.h"
34  #include "resource-manager.h"  #include "resource-manager.h"
35  #include "util.h"  #include "util.h"
# Line 97  Line 98 
98    
99          Stream_write_file_contents(input_stream, input);          Stream_write_file_contents(input_stream, input);
100    
101          jscoverage_instrument_js(id, input_stream, output_stream);          jscoverage_instrument_js(id, jscoverage_encoding, input_stream, output_stream);
102    
103          if (fwrite(output_stream->data, 1, output_stream->length, output) != output_stream->length) {          if (fwrite(output_stream->data, 1, output_stream->length, output) != output_stream->length) {
104            fatal("cannot write to file: %s", destination_file);            fatal("cannot write to file: %s", destination_file);

Legend:
Removed from v.173  
changed lines
  Added in v.174

  ViewVC Help
Powered by ViewVC 1.1.24