IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 12, 2007, 9:52:11 AM (19 years ago)
Author:
eugene
Message:

adding gprintSetFileAllThreads vs ThisThread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.basic/output.c

    r9039 r15791  
    3131  if ((N = get_argument (argc, argv, "-dump"))) {
    3232    buffer = gprintGetBuffer (dest);
     33    if (buffer == NULL) return (FALSE);
    3334
    3435    /* save the current buffer contents */
     
    3940    /* set the output target to the specified name */
    4041    remove_argument (N, &argc, argv);
    41     gprintSetFile (dest, argv[N]);
     42    gprintSetFileAllThreads (dest, argv[N]);
    4243    remove_argument (N, &argc, argv);
    4344
    4445    /* send the output to the appropriate destination */
    4546    gwrite (output, 1, Noutput, dest);
     47    free (output);
    4648    return (TRUE);
    4749  }
     
    5254  }
    5355
    54   gprintSetFile (dest, argv[1]);
     56  gprintSetFileAllThreads (dest, argv[1]);
    5557  return (TRUE);
    5658}
Note: See TracChangeset for help on using the changeset viewer.