IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 19, 2005, 2:31:22 PM (21 years ago)
Author:
drobbin
Message:

Inserted Gene's code for psTrace in and fixed psTraceV to use va_arg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sys/tst_psTrace.c

    r4951 r5071  
    188188static psS32 testTrace04(void)
    189189{
    190     FILE *fp;
    191190    int FD;
    192191    psS32 nb = 0;
     
    194193    //    printf("\nFD = %d\n", FD);
    195194    //    fp = fopen("tst_psTrace02_OUT", "w");
    196     fp = fdopen(FD, "w");
    197195    for (nb = 0 ; nb<4;nb++) {
    198196        if (nb == 0)
     
    203201            psTraceSetDestination(2);
    204202        if (nb == 2)
    205             psTraceSetDestination(-1); //NULL
     203            psTraceSetDestination(0); //NULL
    206204        if (nb == 3)
    207205            psTraceSetDestination(FD);
     
    231229    }
    232230
    233     fclose(fp);
    234231    close(FD);
    235232
Note: See TracChangeset for help on using the changeset viewer.