~ubuntu-branches/ubuntu/trusty/lifelines/trusty

« back to all changes in this revision

Viewing changes to src/stdlib/memalloc.c

  • Committer: Bazaar Package Importer
  • Author(s): Felipe Augusto van de Wiel (faw)
  • Date: 2007-08-14 00:02:04 UTC
  • mfrom: (1.1.4 upstream) (3.1.4 gutsy)
  • Revision ID: james.westby@ubuntu.com-20070814000204-mpv5faygl0dgq3qi
Tags: 3.0.61-1
* New upstream release. (Closes: #387856).
* Fixing documentation build problems also fixes FTBFS if built twice in a
  row. (Closes: #424543).
* Adding lynx as a build dependency. This is necessary to generate txt files
  from html, discovered while fixing #424543.
* Upstream fix: charset for gedcom file in unicode. (Closes: #396206).
* Upstream fim: updating documentation about desc-tex2. (Closes: #405501).
* Bumping Standards-Version to 3.7.2 without package changes.
* Dropping local debian patches added upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
__reallocate (void *ptr, INT size, STRING file, int line)
110
110
{
111
111
        if (alloclog) {
112
 
                sprintf(scratch, "%8p R (%d) %s\t%d", ptr, size, file, line);
 
112
                sprintf(scratch, "%8p R (%ld) %s\t%d", ptr, size, file, line);
113
113
                alloc_out(scratch);
114
114
        }
115
115
        return realloc(ptr, size);
146
146
{
147
147
        char buffer[64];
148
148
        alloc_out(str);
149
 
        snprintf(buffer, sizeof(buffer), "Live count: %d", live_allocs);
 
149
        snprintf(buffer, sizeof(buffer), "Live count: %ld", live_allocs);
150
150
        alloc_out(buffer);
151
151
}
152
152