IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 11, 2016, 10:23:42 PM (10 years ago)
Author:
eugene
Message:

modify to pass with extremely pedantic build; force consistency for signed vs unsigned and int sizes; various relastro updates

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/libfits/table/F_set_column.c

    r39394 r39457  
    109109  if (CHECK_MEMBLOCKS) {
    110110    OhanaMemblock *ref = (OhanaMemblock *) array - 1;
    111     fprintf (stderr, "ref: "OFF_T_FMT", array: "OFF_T_FMT"\n", (off_t) ref, (off_t) array);
     111    fprintf (stderr, "ref: 0x%08lx, array: 0x%08lx, size: %ld, (%s@%d : %s), freed: %1d, Nalloc: %d\n", (long int) ref, (long int) array, ref->size, ref->file, ref->line, ref->func, ref->freed, ref->Nalloc);
    112112    if (!ref->nextBlock && !ref->prevBlock) abort();
    113113  }
     
    120120  if (CHECK_MEMBLOCKS) {
    121121    OhanaMemblock *ref = (OhanaMemblock *) array - 1;
    122     fprintf (stderr, "ref: "OFF_T_FMT", array: "OFF_T_FMT"\n", (off_t) ref, (off_t) array);
     122    fprintf (stderr, "ref: 0x%08lx, array: 0x%08lx, size: %ld, (%s@%d : %s), freed: %1d, Nalloc: %d\n", (long int) ref, (long int) array, ref->size, ref->file, ref->line, ref->func, ref->freed, ref->Nalloc);
    123123    if (!ref->nextBlock && !ref->prevBlock) abort();
    124124  }
     
    212212  if (CHECK_MEMBLOCKS) {
    213213    OhanaMemblock *ref = (OhanaMemblock *) array - 1;
    214     fprintf (stderr, "ref: "OFF_T_FMT", array: "OFF_T_FMT"\n", (off_t) ref, (off_t) array);
     214    fprintf (stderr, "ref: 0x%08lx, array: 0x%08lx, size: %ld, (%s@%d : %s), freed: %1d, Nalloc: %d\n", (long int) ref, (long int) array, ref->size, ref->file, ref->line, ref->func, ref->freed, ref->Nalloc);
    215215    if (!ref->nextBlock && !ref->prevBlock) abort();
    216216  }
     
    241241  if (CHECK_MEMBLOCKS) {
    242242    OhanaMemblock *ref = (OhanaMemblock *) array - 1;
    243     fprintf (stderr, "ref: "OFF_T_FMT", array: "OFF_T_FMT"\n", (off_t) ref, (off_t) array);
     243    fprintf (stderr, "ref: 0x%08lx, array: 0x%08lx, size: %ld, (%s@%d : %s), freed: %1d, Nalloc: %d\n", (long int) ref, (long int) array, ref->size, ref->file, ref->line, ref->func, ref->freed, ref->Nalloc);
    244244    if (!ref->nextBlock && !ref->prevBlock) abort();
    245245  }
Note: See TracChangeset for help on using the changeset viewer.