sethead.c   sethead.c 
/* File sethead.c /* File sethead.c
* January 3, 2011 * September 1, 2011
* By Doug Mink Harvard-Smithsonian Center for Astrophysics) * By Doug Mink Harvard-Smithsonian Center for Astrophysics)
* Send bug reports to dmink@cfa.harvard.edu * Send bug reports to dmink@cfa.harvard.edu
Copyright (C) 1996-2011 Copyright (C) 1996-2011
Smithsonian Astrophysical Observatory, Cambridge, MA USA Smithsonian Astrophysical Observatory, Cambridge, MA USA
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2 as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version. of the License, or (at your option) any later version.
skipping to change at line 69 skipping to change at line 69
static int logfile = 0; static int logfile = 0;
static int first_file = 1; static int first_file = 1;
static char spchar = (char) 0; /* Character to replace with spaces */ static char spchar = (char) 0; /* Character to replace with spaces */
static int nproc = 0; static int nproc = 0;
static char *extensions; /* Extension number(s) or name to read */ static char *extensions; /* Extension number(s) or name to read */
static char *extension; /* Extension number or name to read */ static char *extension; /* Extension number or name to read */
static int addwcs = 0; static int addwcs = 0;
static int errflag = 0; /* Error return from program */ static int errflag = 0; /* Error return from program */
static char *rootdir=NULL; /* Root directory for input files */ static char *rootdir=NULL; /* Root directory for input files */
static char *RevMsg = "SETHEAD WCSTools 3.8.3, 17 August 2011, Doug Mink (d mink@cfa.harvard.edu)"; static char *RevMsg = "SETHEAD WCSTools 3.8.4, 1 September 2011, Doug Mink (dmink@cfa.harvard.edu)";
int int
main (ac, av) main (ac, av)
int ac; int ac;
char **av; char **av;
{ {
char *str; char *str;
char **kwd, **kwdnew; char **kwd, **kwdnew;
char **comment, **comnew; char **comment, **comnew;
int nkwd = 0; int nkwd = 0;
skipping to change at line 618 skipping to change at line 618
char echar; char echar;
int ikwd, lkwd, lkwv, lhist; int ikwd, lkwd, lkwv, lhist;
int nch; int nch;
int fdw; int fdw;
int squote = 39; int squote = 39;
int dquote = 34; int dquote = 34;
int naxis = 0; int naxis = 0;
int nbold, nbnew; int nbold, nbnew;
int imageread = 0; int imageread = 0;
char cval[24]; char cval[24];
char history[72]; char history[128];
char *endchar; char *endchar;
char *ltime; char *ltime;
char newkey[10]; char newkey[10];
char value[80]; char value[80];
char keyroot[8]; char keyroot[8];
char ctemp; char ctemp;
int lval, ii, lv, lnl; int lval, ii, lv, lnl;
int ival0, ival1; int ival0, ival1;
double dval0, dval1; double dval0, dval1;
int bitpix = 0; int bitpix = 0;
skipping to change at line 1472 skipping to change at line 1472
* Jan 9 2008 Add -x option and ranges of extensions * Jan 9 2008 Add -x option and ranges of extensions
* Mar 19 2008 exit(0) if no error * Mar 19 2008 exit(0) if no error
* Mar 20 2008 Clean up error handling * Mar 20 2008 Clean up error handling
* *
* Aug 19 2009 Fix bug to remove limit to the number of files on command li ne * Aug 19 2009 Fix bug to remove limit to the number of files on command li ne
* Sep 18 2009 Call fitswexhead() with ",0" if other extension does not wor k * Sep 18 2009 Call fitswexhead() with ",0" if other extension does not wor k
* Sep 25 2009 Drop unused variable cext * Sep 25 2009 Drop unused variable cext
* *
* Jan 3 2011 Exit with errflag value to indicate an error * Jan 3 2011 Exit with errflag value to indicate an error
* Sep 1 2011 Fix overflow bug by increasing size of history from 72 to 12 8
*/ */
 End of changes. 4 change blocks. 
3 lines changed or deleted 4 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/