IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5112


Ignore:
Timestamp:
Sep 23, 2005, 11:57:12 AM (21 years ago)
Author:
drobbin
Message:

Fixed psTrace to remove " " argument

Location:
trunk/psLib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psTrace.c

    r5071 r5112  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.59 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-09-20 00:31:22 $
     11 *  @version $Revision: 1.60 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-09-23 21:57:12 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    657657    va_list ap;
    658658    va_start(ap, format);
    659     format = va_arg(ap, char *);
     659    //    format = va_arg(ap, char *);
    660660    psTraceV(comp, level, format, ap);
    661661    va_end(ap);
  • trunk/psLib/test/sys/tst_psTrace.c

    r5071 r5112  
    103103    (void)psTraceSetLevel(".A.B.C.D.E", 5);
    104104
    105     psTrace(".A.C.D.C",1," ","You should not see this.\n");
    106     psTrace(".A.B.C.D.E",2," ","You should see this.\n");
    107     psTrace(".A.B.C.D.E.F",3," ","You should see this too.\n");
     105    psTrace(".A.C.D.C",1,"You should not see this.\n");
     106    psTrace(".A.B.C.D.E",2,"You should see this.\n");
     107    psTrace(".A.B.C.D.E.F",3,"You should see this too.\n");
    108108
    109109    psTracePrintLevels();
     
    206206
    207207        (void)psTraceSetLevel(".", 4);
    208         psTrace(".", 5, " ", "(0) This message should not be displayed (%x)\n",
     208        psTrace(".", 5, "(0) This message should not be displayed (%x)\n",
    209209                0xbeefface);
    210210        (void)psTraceSetLevel(".", 7);
    211         psTrace(".", 5, " ", "(0) This message should be displayed (%x)\n",
     211        psTrace(".", 5, "(0) This message should be displayed (%x)\n",
    212212                0xbeefface);
    213213
    214214        (void)psTraceSetLevel(".a", 4);
    215         psTrace(".a", 5, " ", "(1) This message should not be displayed (%x)\n",
     215        psTrace(".a", 5, "(1) This message should not be displayed (%x)\n",
    216216                0xbeefface);
    217217        (void)psTraceSetLevel(".a", 7);
    218         psTrace(".a", 5, " ", "(1) This message should be displayed (%x)\n",
     218        psTrace(".a", 5, "(1) This message should be displayed (%x)\n",
    219219                0xbeefface);
    220220
    221221
    222222        (void)psTraceSetLevel(".a.b", 4);
    223         psTrace(".a.b", 5, " ", "(2) This message should not be displayed (%x)\n",
     223        psTrace(".a.b", 5, "(2) This message should not be displayed (%x)\n",
    224224                0xbeefface);
    225225        (void)psTraceSetLevel(".a.b", 7);
    226         psTrace(".a.b", 5, " ", "(2) This message should be displayed (%x)\n",
     226        psTrace(".a.b", 5, "(2) This message should be displayed (%x)\n",
    227227                0xbeefface);
    228228
Note: See TracChangeset for help on using the changeset viewer.