IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 12, 2025, 5:00:47 PM (8 months ago)
Author:
eugene
Message:

fixes to cgrid for inverted regions; add features tdhistogram and region; free memory on exit

File:
1 edited

Legend:

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

    r14449 r42942  
    33int quit (int argc, char **argv) {
    44
    5   int state;
     5  int N, state;
     6
     7  int VERBOSE = FALSE;
     8  if ((N = get_argument (argc, argv, "-verbose"))) {
     9    remove_argument (N, &argc, argv);
     10    VERBOSE = TRUE;
     11  }
     12  if ((N = get_argument (argc, argv, "-v"))) {
     13    remove_argument (N, &argc, argv);
     14    VERBOSE = TRUE;
     15  }
    616
    717  cleanup ();
     
    1828# endif
    1929
     30  if (VERBOSE) {
     31    ohana_memcheck (TRUE);
     32    ohana_memdump (TRUE);
     33    ohana_memdump_strings_file (stderr, TRUE);
     34  }
     35
    2036  exit (state);
     37}
    2138
    22 }
     39/* values which cannot be freed on quit:
     40
     41   parse.c:329 (reallocated command line)
     42   parse_commands.c:33 (command argv array)
     43   command.c:52 (command targv array)
     44   command.c:15 (copy of command line)
     45
     46*/
Note: See TracChangeset for help on using the changeset viewer.