~ubuntu-branches/ubuntu/lucid/boinc/lucid

« back to all changes in this revision

Viewing changes to api/tgalib.C

  • Committer: Bazaar Package Importer
  • Author(s): Frank S. Thomas, Frank S. Thomas
  • Date: 2008-05-31 08:02:47 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080531080247-4ce890lp2rc768cr
Tags: 6.2.7-1
[ Frank S. Thomas ]
* New upstream release.
  - BOINC Manager: Redraw disk usage charts immediately after connecting to
    a (different) client. (closes: 463823)
* debian/copyright:
  - Added the instructions from debian/README.Debian-source about how
    repackaged BOINC tarballs can be reproduced because DevRef now
    recommends to put this here instead of in the afore-mentioned file.
  - Updated for the new release.
* Removed the obsolete debian/README.Debian-source.
* For consistency upstream renamed the core client and the command tool
  ("boinc_client" to "boinc" and "boinc_cmd" to "boinccmd"). Done the same
  in all packages and created symlinks with the old names for the binaries
  and man pages. Also added an entry in debian/boinc-client.NEWS explaining
  this change.
* debian/rules: Do not list Makefile.ins in the clean target individually,
  just remove all that can be found.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
                
34
34
        // Allocate the structure that will hold our eventual image data (must free it!)
35
35
        pImageData = (tImageTGA*)malloc(sizeof(tImageTGA));
 
36
    if (!pImageData) {
 
37
        fprintf(stderr, "out of mem in LoadTGA");
 
38
        fclose(pFile);
 
39
        return NULL;
 
40
    }
36
41
 
37
42
        // Read in the length in bytes from the header to the pixel data
38
43
        fread(&length, sizeof(byte), 1, pFile);
235
240
        // Return the TGA data (remember, you must free this data after you are done)
236
241
        return pImageData;
237
242
}
238
 
const char *BOINC_RCSID_fa7b4ce9be = "$Id: tgalib.C 12705 2007-05-21 18:19:28Z davea $";
 
243
const char *BOINC_RCSID_fa7b4ce9be = "$Id: tgalib.C 13151 2007-07-13 20:18:46Z davea $";