/[jscoverage]/trunk/generate-resources.c
ViewVC logotype

Diff of /trunk/generate-resources.c

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

revision 2 by siliconforks, Wed Aug 1 13:51:53 2007 UTC revision 427 by siliconforks, Wed Feb 18 16:08:33 2009 UTC
# Line 1  Line 1 
1  /*  /*
2      generate-resources.c - code generator for embedded resources      generate-resources.c - code generator for embedded resources
3      Copyright (C) 2007 siliconforks.com      Copyright (C) 2007, 2008, 2009 siliconforks.com
4    
5      This program is free software; you can redistribute it and/or modify      This program is free software; you can redistribute it and/or modify
6      it under the terms of the GNU General Public License as published by      it under the terms of the GNU General Public License as published by
# Line 29  Line 29 
29      printf("const unsigned char RESOURCE%d_[] = {\n", i);      printf("const unsigned char RESOURCE%d_[] = {\n", i);
30      FILE * f = fopen(argv[i], "rb");      FILE * f = fopen(argv[i], "rb");
31      if (f == NULL) {      if (f == NULL) {
32          fprintf(stderr, "cannot open file %s\n", argv[i]);
33        exit(EXIT_FAILURE);        exit(EXIT_FAILURE);
34      }      }
35      int c;      int c;

Legend:
Removed from v.2  
changed lines
  Added in v.427

  ViewVC Help
Powered by ViewVC 1.1.24