Changeset f20d66c


Ignore:
Timestamp:
11/27/08 11:25:45 (12 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
1b0fb63
Parents:
530bcf0
Message:

Fix some warnings found on mroe recent gcc's
Bump version and release 3.0.6

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • README

    r896ad39 rf20d66c  
    11$Header$
    22
    3 libtrace 3.0.5
     3libtrace 3.0.6
    44
    55---------------------------------------------------------------------------
  • configure.in

    r530bcf0 rf20d66c  
    44# and in the README
    55
    6 AC_INIT([libtrace],[3.0.5],[contact@wand.net.nz],[libtrace])
     6AC_INIT([libtrace],[3.0.6],[contact@wand.net.nz],[libtrace])
    77
    88LIBTRACE_MAJOR=3
    99LIBTRACE_MID=0
    10 LIBTRACE_MINOR=5
     10LIBTRACE_MINOR=6
    1111
    1212AC_CONFIG_SRCDIR(lib/trace.c)
  • tools/traceanon/traceanon.c

    ra7282fb rf20d66c  
    176176                 * stdout
    177177                 */
    178                 asprintf(&output,"%s:-","erf");
     178                output = strdup("erf:-");
    179179                writer = trace_create_output(output);
    180180        } else {
  • tools/tracertstats/output_png.c

    r3d4fb8f rf20d66c  
    99#include <inttypes.h>
    1010#include <lt_inttypes.h>
     11#include <err.h>
    1112
    1213struct private_png_t {
     
    5455        float data2[(out->columns-1)/2][prv->rows];
    5556        for(i=0;i<prv->rows;++i) {
    56                 asprintf(&labels[i],"%i",(int)prv->data[i*out->columns]);
     57                if (asprintf(&labels[i],"%i",(int)prv->data[i*out->columns])==-1) {
     58                        err(1,"Out of memory");
     59                }
    5760                for(j=0;j<(out->columns-1)/2;++j) {
    5861                        data1[j][i]=prv->data[i*out->columns+j*2+1];
  • tools/tracesplit/tracesplit_dir.c

    r8a0e6e8 rf20d66c  
    4747        }
    4848        if (trace_start(input)==-1) {
    49                 trace_perror(input,argv[1]);
     49                trace_perror(input,"Unable to start trace: %s",argv[1]);
    5050                return 1;
    5151        }
Note: See TracChangeset for help on using the changeset viewer.