IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33661


Ignore:
Timestamp:
Apr 1, 2012, 3:12:50 PM (14 years ago)
Author:
eugene
Message:

myAssert to libohana; allow user-specified separator

Location:
trunk/Ohana/src/tools/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/tools/src/radec.c

    r12333 r33661  
    99  char sep;
    1010  double ra, dec;
    11   int status, h, m, flag;
     11  int status, h, m, flag, N;
    1212  double s, hh;
    1313
    1414  sep = ' ';
     15  if ((N = get_argument (argc, argv, "-sep"))) {
     16    remove_argument (N, &argc, argv);
     17    sep = argv[N][0];
     18    remove_argument (N, &argc, argv);
     19  }
     20
    1521  if (get_argument (argc, argv, "-hms")) {
    1622    while (scan_line (stdin, line) != EOF) {
  • trunk/Ohana/src/tools/src/roc.c

    r32052 r33661  
    33# include <sys/types.h>
    44# include <regex.h>
    5 
    6 # define myAssert(LOGIC,...) { if (!(LOGIC)) { fprintf (stderr, __VA_ARGS__); exit(4); } }
    75
    86# define ROC_HEADER_SIZE  0x1000
Note: See TracChangeset for help on using the changeset viewer.