IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 5, 2006, 5:44:26 PM (20 years ago)
Author:
eugene
Message:

big move: fits_ to gfits_; minor updates to relphot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/misc/src/fakecmp.c

    r2417 r7080  
    1111
    1212  if (argc != 4) {
    13     fprintf (stderr, "USAGE: fits_insert (input) (template) (output)\n");
     13    fprintf (stderr, "USAGE: gfits_insert (input) (template) (output)\n");
    1414    exit (2);
    1515  }
     
    6565
    6666  /* load header from image file */
    67   if (!fits_read_header (argv[1], &header)) {
     67  if (!gfits_read_header (argv[1], &header)) {
    6868    fprintf (stderr, "can't open fits file %s\n", argv[1]);
    6969    exit (1);
     
    8484    /* replace existing keywords, unless this is a COMMENT or HISTORY field */
    8585    if (strncmp (keyword, "COMMENT ", 8) && strncmp (keyword, "HISTORY ", 8)) {
    86       p = fits_header_field (&header, keyword, 1);
     86      p = gfits_header_field (&header, keyword, 1);
    8787      if (p != (char *) NULL) {
    8888        strncpy (p, line, 80);
Note: See TracChangeset for help on using the changeset viewer.