[SCM] Create, display and manipulate the world coordinate system branch, upstream, updated. 252f166f1f74b9ecdb4ea04b534bf60f381d54c4

Ole Streicher debian at liska.ath.cx
Sun Oct 21 11:47:00 UTC 2012


The following commit has been merged in the upstream branch:
commit 252f166f1f74b9ecdb4ea04b534bf60f381d54c4
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Sun Oct 21 13:46:40 2012 +0200

    New upstream version 3.8.7

diff --git a/Install b/Install
index c7ea0f2..d8db22c 100644
--- a/Install
+++ b/Install
@@ -12,20 +12,17 @@ Brief descriptions of file contents are in the Programs file.
 A history of this software is in the NEWS file.
 
 The complete source code is in
-ftp://cfa-ftp.harvard.edu/pub/gsc/WCSTools/wcstools-3.8.6.tar.gz and
-ftp://cfa-ftp.harvard.edu/pub/gsc/WCSTools/wcstls37.zip and
-http://tdc-www.harvard.edu/software/wcstools/wcstools-3.8.6.tar.gz
+ftp://cfa-ftp.harvard.edu/pub/gsc/WCSTools/wcstools-3.8.7.tar.gz and
+http://tdc-www.harvard.edu/software/wcstools/wcstools-3.8.7.tar.gz
 
 Documentation, with examples and installation directions, is on the
 World Wide Web at http://tdc-www.harvard.edu/software/wcstools/
 
 To install the code, create a directory for it, download it, and run
 
-        gzcat wcstools-3.8.6.tar.gz | tar xvf -
-or
-        unzip wcstls37.zip
+        gzcat wcstools-3.8.7.tar.gz | tar xvf -
 
-The directory wcstools-3.8.6 will contain the source code for the programs,
+The directory wcstools-3.8.7 will contain the source code for the programs,
 and a subdirectory, libwcs, will contain the source code for the subroutines.
 
 Catalog access subroutines, gscread.c, actread, uacread.c, ubcread.c,
@@ -73,5 +70,5 @@ systems, and even that has been minimized. The package even compiles and runs
 under Windows using the free Cygwin environment. If you have any problems,
 feel free to write the author. 
 
--Jessica Mink, SAO, 2012-08-10
+-Jessica Mink, SAO, 2012-10-19
 http://tdc-www.harvard.edu/mink/
diff --git a/NEWS b/NEWS
index cc3e096..c9c1dd0 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,13 @@
+Version 3.8.7 (October 19, 2012)
+Rename Man to man to avoid problems with Mac OSX file name convention
+filedir: If pathname ends in "/", drop last directory
+catutil.c:  Skip trailing right bracket in aget*()
+dateutil.c:  Unused l0 dropped from jd2lst(); ts2ss from jd2mst()
+imio.c:  Fix errors with character images in minvec() and maxvec()
+wcs.c:  Drop d1 and d2 from wcsdist(); diffi from wcsdist1()
+wcs.c:  Drop depwcs; it's in main wcs structure
+wcsinit.c: Drop unused variable iszpx; fix bug in latmin assignment
+
 Version 3.8.6 (August 10, 2012)
 sumpix: Add options i to print index and e to compute medians
 gethead: Call fk425e() instead of fk425()
diff --git a/Readme b/Readme
index c92d7a7..3164f05 100644
--- a/Readme
+++ b/Readme
@@ -1,4 +1,4 @@
-WCSTools 3.8.6
+WCSTools 3.8.7
 
 WCSTools is a set of software utilities, written in C, which create,
 display and manipulate the world coordinate system of a FITS or IRAF
@@ -14,7 +14,7 @@ in the main directory or, on Solaris machines
 
 make -f Makefile.solaris
 
-This is version 3.8.6 of the WCSTools package developed by Jessica Mink
+This is version 3.8.7 of the WCSTools package developed by Jessica Mink
 (jmink at cfa.harvard.edu) at the Smithsonian Astrophysical Observatory,
 with significant code or algorithms from
 
@@ -39,15 +39,15 @@ all of the variables initialized.
 
 The update history is in the NEWS file, but here is what is new:
 
-Version 3.8.6 (August 10, 2012)
-sumpix: Add options i to print index and e to compute medians
-gethead: Call fk425e() instead of fk425()
-imcat: Drop declaration of unused fk425e()
-imutil.c: Add medpix() and meanpix() to generalize across pixel size
-imutil.c: Add medpixi1() and meanpixi1() to handle 8-bit images
-imio.c:  Fix 8-bit variables to be unsigned char
-ctgread.c: Allow up to 9 magnitudes (/9) instead of 4
-catutil.c, polfit.c: Fix xterm computation in polcomp() from + to *
+Version 3.8.7 (October 19, 2012)
+Rename Man to man to avoid problems with Mac OSX file name convention
+filedir: If pathname ends in "/", drop last directory
+catutil.c:  Skip trailing right bracket in aget*()
+dateutil.c:  Unused l0 dropped from jd2lst(); ts2ss from jd2mst()
+imio.c:  Fix errors with character images in minvec() and maxvec()
+wcs.c:  Drop d1 and d2 from wcsdist(); diffi from wcsdist1()
+wcs.c:  Drop depwcs; it's in main wcs structure
+wcsinit.c: Drop unused variable iszpx; fix bug in latmin assignment
 
 Documentation, with examples and installation directions, is on the
 World Wide Web at
@@ -168,5 +168,5 @@ wcshead	Print basic world coordinate system information on one line per image
 xy2sky	Print sky coordinates for given image pixel coordinates on the command
 	line or in a list file.
 
--Jessica Mink, SAO, 2012-08-10
+-Jessica Mink, SAO, 2012-10-19
  http://tdc-www.harvard.edu/mink/
diff --git a/addpix.c b/addpix.c
index 4be8442..acfaec6 100644
--- a/addpix.c
+++ b/addpix.c
@@ -34,7 +34,7 @@
 static void usage();
 static int newimage = 0;
 static int verbose = 0;		/* verbose flag */
-static char *RevMsg = "ADDPIX WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "ADDPIX WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 static void AddPix();
 static int version = 0;		/* If 1, print only program name and version */
 
diff --git a/bincat.c b/bincat.c
index 1dd9cba..aaa3681 100644
--- a/bincat.c
+++ b/bincat.c
@@ -48,7 +48,7 @@ extern void setrefpix();
 extern void setcdelt();
 extern struct WorldCoor *GetFITSWCS();
 
-static char *RevMsg = "BINCAT WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "BINCAT WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 static int verbose = 0;		/* verbose flag */
 static int debug = 0;		/* debugging flag */
 static int bitpix = 0;	/* number of bits per pixel (FITS code, 0=no image) */
diff --git a/catrot.c b/catrot.c
index 36189bc..cbcebb6 100644
--- a/catrot.c
+++ b/catrot.c
@@ -46,7 +46,7 @@ static int bitpix = 0;	/* number of bits per pixel (FITS code) */
 static int fitsout = 0;	/* Output FITS file from IRAF input if 1 */
 static int nsplit = 0;	/* Output multiple FITS files from n-extension file */
 static int overwrite = 0;	/* allow overwriting of input image file */
-static char *RevMsg = "IMROT WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "IMROT WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 static int version = 0;		/* If 1, print only program name and version */
 static int xshift = 0;
 static int yshift = 0;
diff --git a/char2sp.c b/char2sp.c
index f856009..f3747c8 100644
--- a/char2sp.c
+++ b/char2sp.c
@@ -39,7 +39,7 @@ static int verbose = 0;		/* verbose/debugging flag */
 static int version = 0;		/* If 1, print only program name and version */
 static char spchar = '_';
 
-static char *RevMsg = "CHAR2SP WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "CHAR2SP WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/conpix.c b/conpix.c
index aae2d48..f7a34e8 100644
--- a/conpix.c
+++ b/conpix.c
@@ -52,7 +52,7 @@ static int version = 0;		/* If 1, print only program name and version */
 static int setgnoise = 0;	/* If 1, pixels have been set to random noise */
 static int addgnoise = 0;	/* If 1, pixels have random noise added */
 
-static char *RevMsg = "CONPIX WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "CONPIX WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/cphead.c b/cphead.c
index 3b7b247..24c9d0b 100644
--- a/cphead.c
+++ b/cphead.c
@@ -41,7 +41,7 @@ static void CopyValues();
 extern char *GetFITShead();
 
 static int verbose = 0;		/* verbose/debugging flag */
-static char *RevMsg = "CPHEAD WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "CPHEAD WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 static int copyall = 0;		/* Copy entire header, overwriting old one */
 static int nfile = 0;
 static int ndec0 = -9;
diff --git a/delhead.c b/delhead.c
index 4673f69..99e9732 100644
--- a/delhead.c
+++ b/delhead.c
@@ -53,7 +53,7 @@ static int nproc = 0;
 static int overwrite = 0;	/* If 1, overwrite input image */
 static int first_file = 1;
 
-static char *RevMsg = "DELHEAD WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "DELHEAD WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/delwcs.c b/delwcs.c
index e7ea031..d6d6a04 100644
--- a/delwcs.c
+++ b/delwcs.c
@@ -38,7 +38,7 @@ extern int DelWCSFITS ();
 static int verbose = 0;		/* Verbose/debugging flag */
 static int newimage = 0;	/* New image flag */
 static int readimage = 1;	/* Read and write image as well as header */
-static char *RevMsg = "DELWCS WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "DELWCS WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 static int version = 0;		/* If 1, print only program name and version */
 
 int
diff --git a/edhead.c b/edhead.c
index 13d2891..15fbfd7 100644
--- a/edhead.c
+++ b/edhead.c
@@ -39,7 +39,7 @@ static void EditHead();
 static int newimage = 0;
 static int verbose = 0;		/* verbose flag */
 static char *editcom0;		/* Editor command from command line */
-static char *RevMsg = "EDHEAD WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "EDHEAD WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 static int version = 0;		/* If 1, print only program name and version */
 
 
diff --git a/filedir.c b/filedir.c
index 7271665..de2003d 100644
--- a/filedir.c
+++ b/filedir.c
@@ -1,9 +1,9 @@
 /* File filedir.c
- * June 30, 2010
+ * October 2, 2012
  * By Jessica Mink, Harvard-Smithsonian Center for Astrophysics
  * Send bug reports to jmink at cfa.harvard.edu
 
-   Copyright (C) 2010
+   Copyright (C) 2010 - 2012
    Smithsonian Astrophysical Observatory, Cambridge, MA USA
 
    This program is free software; you can redistribute it and/or
@@ -40,7 +40,7 @@ char **av;
     char *fn;
     char *str;
     char *ext;
-    int i, lroot;
+    int i, lroot, lfn;
 
     /* crack arguments */
     for (av++; --ac > 0 && *(str = *av) == '-'; av++) {
@@ -64,11 +64,22 @@ char **av;
 
     while (ac-- > 0) {
 	fn = *av++;
+	lfn = strlen (fn);
 	if (verbose)
     	    printf ("%s -> ", fn);
 	ext = strrchr (fn, '/');
 	if (ext != NULL) {
-	    *ext = 0;
+	    *ext = (char) 0;
+	    if (ext == (fn + lfn - 1)) {
+		ext = strrchr (fn, '/');
+		if  (ext != NULL)
+		    *ext = (char) 0;
+		else {
+		    fn[0] = '.';
+		    fn[1] = '/';
+		    fn[2] = (char) 0;
+		    }
+		}
 	    printf ("%s\n", fn);
 	    }
 	else
@@ -86,4 +97,6 @@ usage ()
     exit (1);
 }
 /* Jun 30 2000	New program
+ *
+ * Oct 02 2012	If pathname ends in "/", drop last directory
  */
diff --git a/fixpix.c b/fixpix.c
index f1daf8d..551a215 100644
--- a/fixpix.c
+++ b/fixpix.c
@@ -47,7 +47,7 @@ static int nfix = 0;		/* Number of regions to fix
 static int version = 0;		/* If 1, print only program name and version */
 static int xl[MAXFIX],yl[MAXFIX]; /* Lower left corners of regions (1 based) */
 static int xr[MAXFIX],yr[MAXFIX]; /* Upper right corners of regions (1 based) */
-static char *RevMsg = "FIXPIX WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "FIXPIX WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/getcol.c b/getcol.c
index 475823b..4f3fb56 100644
--- a/getcol.c
+++ b/getcol.c
@@ -37,7 +37,7 @@
 #define MAXFILES	2000
 #define MAXLINES	100000
 
-static char *RevMsg = "GETCOL WCSTools 3.8.7, 10 August 2012, Jessica Mink SAO";
+static char *RevMsg = "GETCOL WCSTools 3.8.7, 19 October 2012, Jessica Mink SAO";
 
 static void usage();
 static int ListFile();
diff --git a/getdate.c b/getdate.c
index d73e21f..9ba7e61 100644
--- a/getdate.c
+++ b/getdate.c
@@ -66,7 +66,7 @@
 #define MST	3
 #define LST	4
 
-static char *RevMsg = "GETDATE WCSTools 3.8.7, 10 August 2012, Jessica Mink SAO";
+static char *RevMsg = "GETDATE WCSTools 3.8.7, 19 October 2012, Jessica Mink SAO";
 
 static void usage();
 static void ConvertDate();
diff --git a/getfits.c b/getfits.c
index 30395d6..8a68e3c 100644
--- a/getfits.c
+++ b/getfits.c
@@ -44,7 +44,7 @@ static void nextname();	/* Find next available name (namea, nameb, ...) */
 static int ExtractFITS();
 
 static int verbose = 0;		/* verbose/debugging flag */
-static char *RevMsg = "GETFITS WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "GETFITS WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 static int version = 0;		/* If 1, print only program name and version */
 static char outname[128];	/* Name for output image */
 static char outdir[256];	/* Output directory pathname */
diff --git a/getftab.c b/getftab.c
index badb09a..f18b477 100644
--- a/getftab.c
+++ b/getftab.c
@@ -40,7 +40,7 @@ static void usage();
 static void PrintValues();
 static int maxncond = 100;
 
-static char *RevMsg = "GETFTAB WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "GETFTAB WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 static int verbose = 0;		/* verbose/debugging flag */
 static int nfile = 0;
diff --git a/gethead.c b/gethead.c
index 6c08289..b7b2b42 100644
--- a/gethead.c
+++ b/gethead.c
@@ -47,7 +47,7 @@ extern char *GetFITShead();
 static char nextnsp();
 static int PrintValues();
 
-static char *RevMsg = "GETHEAD WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "GETHEAD WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 static int verbose = 0;		/* verbose/debugging flag */
 static int nfile = 0;
diff --git a/getpix.c b/getpix.c
index 0f91d53..c10fe22 100644
--- a/getpix.c
+++ b/getpix.c
@@ -36,7 +36,7 @@ static void usage();
 static void PrintPix();
 static void procpix();
 
-static char *RevMsg = "GETPIX WCSTools 3.8.7, 10 August 2012, Jessica Mink SAO";
+static char *RevMsg = "GETPIX WCSTools 3.8.7, 19 October 2012, Jessica Mink SAO";
 
 static int verbose = 0;		/* verbose/debugging flag */
 static int version = 0;		/* If 1, print only program name and version */
diff --git a/gettab.c b/gettab.c
index d41f0b5..facd5e1 100644
--- a/gettab.c
+++ b/gettab.c
@@ -40,7 +40,7 @@ static void usage();
 static void PrintValues();
 static int maxncond = 100;
 
-static char *RevMsg = "GETTAB WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "GETTAB WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 static int verbose = 0;		/* verbose/debugging flag */
 static int nfile = 0;
diff --git a/gsc2cat.c b/gsc2cat.c
index 9f9f654..7a215f4 100644
--- a/gsc2cat.c
+++ b/gsc2cat.c
@@ -37,7 +37,7 @@ static int nlog = 10000;
 static void usage();
 void SaveGSC2();
 
-static char *RevMsg = "GSC2CAT WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "GSC2CAT WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 main (ac, av)
 int ac;
diff --git a/i2f.c b/i2f.c
index c611669..1bdab01 100644
--- a/i2f.c
+++ b/i2f.c
@@ -34,7 +34,7 @@ static void usage();
 static void IRAFtoFITS ();
 
 static int verbose = 0;		/* verbose/debugging flag */
-static char *RevMsg = "I2F WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "I2F WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 static int version = 0;		/* If 1, print only program name and version */
 static int delirafkey = 0;	/* If 1, delete IRAF .imh keywords */
 static int deliraffile = 0;	/* If 1, delete IRAF .imh files */
diff --git a/imcat.c b/imcat.c
index d521eca..ab4c393 100644
--- a/imcat.c
+++ b/imcat.c
@@ -64,7 +64,7 @@ extern void setdateobs();
 extern void setparm();
 extern void setnpix();
 
-static char *RevMsg = "WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 static int verbose = 0;		/* verbose/debugging flag */
 static int wfile = 0;		/* True to print output file */
diff --git a/imextract.c b/imextract.c
index 3b4bdb4..a15e7b5 100644
--- a/imextract.c
+++ b/imextract.c
@@ -37,7 +37,7 @@
 static void usage();
 static int ExtractImage();
 
-static char *RevMsg = "IMEXTRACT WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "IMEXTRACT WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 static int verbose = 0;		/* verbose flag */
 static int krename = 0;
diff --git a/imfill.c b/imfill.c
index 30ccc1d..cdefd2a 100644
--- a/imfill.c
+++ b/imfill.c
@@ -63,7 +63,7 @@ static char *badheader;		/* FITS bad pixel header */
 static double minpixval = -9999.0;	/* Minimum good pixel value */
 static double maxpixval = -9999.0;	/* Maximum good pixel value */
 
-static char *RevMsg = "IMFILL WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "IMFILL WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/imhead.c b/imhead.c
index 232ba3e..59583b8 100644
--- a/imhead.c
+++ b/imhead.c
@@ -39,7 +39,7 @@ static int nfiles = 0;		/* Nuber of files for headers */
 static int verbose = 0;		/* verbose/debugging flag */
 static int fitsout = 0;		/* If 1, write exact FITS header */
 static int zbitpix = 0;		/* If 1, set BITPIX to 0 for dataless header */
-static char *RevMsg = "IMHEAD WCSTools 3.8.7, 10 August 2012, Jessica Mink SAO";
+static char *RevMsg = "IMHEAD WCSTools 3.8.7, 19 October 2012, Jessica Mink SAO";
 static int version = 0;		/* If 1, print only program name and version */
 
 int
diff --git a/immatch.c b/immatch.c
index dacdcfa..b38a7b1 100644
--- a/immatch.c
+++ b/immatch.c
@@ -41,7 +41,7 @@ static void MatchCat();
 #define MAXFILES 1000
 static int maxnfile = MAXFILES;
 
-static char *RevMsg = "WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 static int verbose = 0;		/* verbose/debugging flag */
 static int rot = 0;
diff --git a/imresize.c b/imresize.c
index 84402ca..24bf822 100644
--- a/imresize.c
+++ b/imresize.c
@@ -62,7 +62,7 @@ static int bitpix = 0;		/* Bits per output pixel */
 static int mean = 0;		/* 1 if mean for regrouped pixels */
 static int northup = 0;		/* 1 to rotate to north up, east left */
 
-static char *RevMsg = "IMRESIZE WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "IMRESIZE WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/imrot.c b/imrot.c
index cf4a5b6..fd3390f 100644
--- a/imrot.c
+++ b/imrot.c
@@ -38,7 +38,7 @@ static int inverted = 0;	/* If 1, invert intensity (-1 * (z-zmax)) */
 static int deletewcs = 0;	/* If 1, delete FITS WCS keywords in image */
 static int rotatewcs = 1;	/* If 1, rotate FITS WCS keywords in image */
 static int extnum = 0;		/* Use extension number instead of EXTNAME for output */
-static char *RevMsg = "IMROT WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "IMROT WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/imsize.c b/imsize.c
index 046a3c8..0ba4d54 100644
--- a/imsize.c
+++ b/imsize.c
@@ -44,7 +44,7 @@ static char coorsys[8];
 static double size = 0.0;
 static double frac = 0.0;
 
-static char *RevMsg = "IMSIZE WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "IMSIZE WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 static int verbose = 0;		/* verbose/debugging flag */
 static int dss = 0;		/* Flag to drop extra stuff for DSS */
diff --git a/imsmooth.c b/imsmooth.c
index 62b927e..8b6a858 100644
--- a/imsmooth.c
+++ b/imsmooth.c
@@ -55,7 +55,7 @@ static double ghwidth = 1.0;	/* Gaussian half-width */
 static int filter = 0;		/* Filter code */
 static int nlog = 100;		/* Number of lines between log messages */
 
-static char *RevMsg = "IMSMOOTH WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "IMSMOOTH WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/imstack.c b/imstack.c
index 2b8c2e2..b7304f5 100644
--- a/imstack.c
+++ b/imstack.c
@@ -37,7 +37,7 @@ static int StackImage();
 static int verbose = 0;		/* verbose flag */
 static int wfits = 1;		/* if 1, write FITS header before data */
 static char *newname = NULL;
-static char *RevMsg = "IMSTACK WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "IMSTACK WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 static int nfiles = 0;
 static int nbstack = 0;
 static int extend = 0;		/* If 1, output multi-extension FITS file */
diff --git a/imstar.c b/imstar.c
index 14312b8..27f094c 100644
--- a/imstar.c
+++ b/imstar.c
@@ -41,7 +41,7 @@
 #define MAXFILES 1000
 static int maxnfile = MAXFILES;
 
-static char *RevMsg = "IMSTAR WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "IMSTAR WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 static int verbose = 0;		/* verbose flag */
 static int debug = 0;		/* debugging flag */
diff --git a/imwcs.c b/imwcs.c
index e06b37b..d16c997 100644
--- a/imwcs.c
+++ b/imwcs.c
@@ -40,7 +40,7 @@ static int maxnfile = MAXFILES;
 static void PrintUsage();
 static void FitWCS();
 
-static char *RevMsg = "WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 static int verbose = 0;		/* verbose/debugging flag */
 static int writeheader = 0;	/* write header fields; else read-only */
diff --git a/isfits.c b/isfits.c
index a318b35..e7c87bb 100644
--- a/isfits.c
+++ b/isfits.c
@@ -28,7 +28,7 @@
 #include <string.h>
 #include "libwcs/fitsfile.h"
 
-static char *RevMsg = "ISFITS WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "ISFITS WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/isimlist.c b/isimlist.c
index 4fdf7e2..823af20 100644
--- a/isimlist.c
+++ b/isimlist.c
@@ -28,7 +28,7 @@
 #include <string.h>
 #include "libwcs/fitshead.h"
 
-static char *RevMsg = "ISIMLIST WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "ISIMLIST WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/isnum.c b/isnum.c
index 36f0e43..8b1d527 100644
--- a/isnum.c
+++ b/isnum.c
@@ -28,7 +28,7 @@
 #include <string.h>
 #include "libwcs/fitshead.h"
 
-static char *RevMsg = "ISNUM WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "ISNUM WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/isrange.c b/isrange.c
index d6d2878..e2f13f8 100644
--- a/isrange.c
+++ b/isrange.c
@@ -27,7 +27,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-static char *RevMsg = "ISRANGE WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "ISRANGE WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 static int isrange();
 
diff --git a/keyhead.c b/keyhead.c
index eedeee5..ccb34fa 100644
--- a/keyhead.c
+++ b/keyhead.c
@@ -50,7 +50,7 @@ static int logfile = 0;
 static int nproc = 0;
 static int first_file = 1;
 
-static char *RevMsg = "KEYHEAD WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "KEYHEAD WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/libwcs/NEWS b/libwcs/NEWS
index 0bb0750..73db1fe 100644
--- a/libwcs/NEWS
+++ b/libwcs/NEWS
@@ -1,5 +1,14 @@
 WCSTools WCS subroutine library release history
 
+Version 3.8.7 (October 19, 2012)
+dateutil.c:  Unused l0 dropped from jd2lst(); ts2ss from jd2mst()
+imio.c:  Fix errors with character images in minvec() and maxvec()
+wcs.c:  Drop d1 and d2 from wcsdist(); diffi from wcsdist1()
+wcs.c:  Drop depwcs; it's in main wcs structure
+wcsinit.c: Drop unused variable iszpx; fix bug in latmin assignment
+
+catutil.c:  Skip trailing right bracket in aget*()
+
 Version 3.8.6 (August 10, 2012)
 All: Update author name
 imio.c:  Fix 8-bit variables to be unsigned char
diff --git a/libwcs/catutil.c b/libwcs/catutil.c
index 4bdc91d..8cf2232 100644
--- a/libwcs/catutil.c
+++ b/libwcs/catutil.c
@@ -1,5 +1,5 @@
 /*** File libwcs/catutil.c
- *** July 23, 2012
+ *** October 2, 2012
  *** By Jessica Mink, jmink at cfa.harvard.edu
  *** Harvard-Smithsonian Center for Astrophysics
  *** Copyright (C) 1998-2012
@@ -2473,7 +2473,7 @@ struct Range *range;	/* Range structure */
 }
 
 
-/* AGETI4 -- Read int value from a file where keyword=value, anywhere */
+/* AGETI4 -- Get integer value from ASCII string where keyword=value anywhere */
 
 int
 ageti4 (string, keyword, ival)
@@ -2494,9 +2494,9 @@ int	*ival;		/* Integer value, returned */
     else
 	return (0);
 }
-	
 
-/* AGETR8 -- Read double value from a file where keyword=value, anywhere */
+
+/* AGETR8 -- Get double value from ASCII string where keyword=value anywhere */
 int
 agetr8 (string, keyword, dval)
 
@@ -2584,10 +2584,10 @@ char *value;	/* String (returned) */
 	    pval = NULL;
 	    }
 
-	/* Must have "=" or ":" as next nonspace character */
+	/* Must have "=" or ":" as next nonspace and nonbracket character */
 	    else {
 	    pv = pkey + lkey;
-	    while (*pv == ' ') {
+	    while (*pv == ' ' || *pv == ']') {
 		pv++;
 		}
 	    if (*pv != '=' && *pv != ':') {
@@ -3481,4 +3481,5 @@ char *from, *last, *to;
  * May 16 2012	Save maximum value in range data structure
  * Jul 26 2012	Fix xterm computation in polcomp() from + to *
  *		(found by Raymond Carlberg of U.Toronto)
+ * Oct 02 2012	Skip trailing right bracket in aget*()
  */
diff --git a/libwcs/dateutil.c b/libwcs/dateutil.c
index eb2c678..ada0c95 100644
--- a/libwcs/dateutil.c
+++ b/libwcs/dateutil.c
@@ -1,8 +1,8 @@
 /*** File libwcs/dateutil.c
- *** September 24, 2009
+ *** October 19, 2012
  *** By Jessica Mink, jmink at cfa.harvard.edu
  *** Harvard-Smithsonian Center for Astrophysics
- *** Copyright (C) 1999-2009
+ *** Copyright (C) 1999-2012
  *** Smithsonian Astrophysical Observatory, Cambridge, MA, USA
 
     This library is free software; you can redistribute it and/or
@@ -3294,7 +3294,7 @@ jd2lst (dj)
 
 double dj;	/* Julian Date */
 {
-    double gst, lst, l0;
+    double gst, lst;
 
     /* Compute Greenwich Sidereal Time at this epoch */
     gst = jd2gst (dj);
@@ -3837,7 +3837,6 @@ jd2mst (dj)
 double	dj;	/* Julian Date */
 {
     double dt, t, mst;
-    double ts2ss = 1.00273790935;
 
     dt = dj - 2451545.0;
     t = dt / 36525.0;
@@ -4551,4 +4550,5 @@ double	dnum, dm;
  * Sep 24 2009	Add end to comment "Coefficients for fundamental arguments"
  *
  * Jan 11 2012	Add TAI, TT, GPS time
+ * Oct 19 2012	Unused l0 dropped from jd2lst(); ts2ss from jd2mst()
  */
diff --git a/libwcs/imio.c b/libwcs/imio.c
index 3fdb5a8..13182ff 100644
--- a/libwcs/imio.c
+++ b/libwcs/imio.c
@@ -1,5 +1,5 @@
 /*** File wcslib/imio.c
- *** April 12, 2012
+ *** October 19, 2012
  *** By Jessica Mink, jmink at cfa.harvard.edu
  *** Harvard-Smithsonian Center for Astrophysics
  *** Copyright (C) 1996-2012
@@ -661,10 +661,10 @@ int	npix;		/* Number of pixels to check */
     switch (bitpix) {
 
 	case 8:
-	    imc = (unsigned char *)(image + pix1);
-	    imaxc = *(im2+ipix);
+	    imc = (unsigned char *)(image);
+	    imaxc = *(imc + pix1);
 	    for (ipix = pix1; ipix < pix2; ipix++) {
-		ipc = *(image + ipix);
+		ipc = *(imc + ipix);
 		if (ipc > imaxc)
 		    imaxc = ipc;
 		}
@@ -764,10 +764,10 @@ int	npix;		/* Number of pixels to check */
     switch (bitpix) {
 
 	case 8:
-	    cmin = *(image + pix1);
 	    imc = (unsigned char *)image;
+	    cmin = *(imc + pix1);
 	    for (ipix = pix1; ipix < pix2; ipix++) {
-		cp = *(image + ipix);
+		cp = *(imc + ipix);
 		if (cp < cmin)
 		    cmin = cp;
 		}
@@ -777,12 +777,10 @@ int	npix;		/* Number of pixels to check */
 	case 16:
 	    im2 = (short *)image + pix1;
 	    imin2 = *im2;
-	    il2 = im2 + npix;
-	    ip2 = im2;
-	    while (ip2 < il2) {
+	    for (ipix = pix1; ipix < pix2; ipix++) {
+		ip2 = *(im2 + ipix);
 		if (*ip2 < imin2)
 		    imin2 = *ip2;
-		ip2++;
 		}
 	    dmin = (double) imin2;
 	    break;
@@ -1540,4 +1538,5 @@ imswapped ()
  * Jun 11 2007	Add minvec() and speed up maxvec()
  *
  * Apr 12 2012	Fix 8-bit variables to be unsigned char
+ * Oct 19 2012	Fix errors with character images in minvec() and maxvec()
  */
diff --git a/libwcs/wcs.c b/libwcs/wcs.c
index 1c2339a..32ea3f7 100644
--- a/libwcs/wcs.c
+++ b/libwcs/wcs.c
@@ -1,8 +1,8 @@
 /*** File libwcs/wcs.c
- *** September 1, 2011
+ *** October 19, 2012
  *** By Jessica Mink, jmink at cfa.harvard.edu
  *** Harvard-Smithsonian Center for Astrophysics
- *** Copyright (C) 1994-2011
+ *** Copyright (C) 1994-2012
  *** Smithsonian Astrophysical Observatory, Cambridge, MA, USA
 
     This library is free software; you can redistribute it and/or
@@ -1434,7 +1434,7 @@ double	x1,y1;	/* (RA,Dec) or (Long,Lat) in degrees */
 double	x2,y2;	/* (RA,Dec) or (Long,Lat) in degrees */
 
 {
-	double d1, d2, r, diffi;
+	double r, diffi;
 	double pos1[3], pos2[3], w, diff;
 	int i;
 
@@ -1469,7 +1469,7 @@ double	x1,y1;	/* (RA,Dec) or (Long,Lat) in degrees */
 double	x2,y2;	/* (RA,Dec) or (Long,Lat) in degrees */
 
 {
-	double d1, d2, r, diffi;
+	double d1, d2, r;
 	double pos1[3], pos2[3], w, diff;
 	int i;
 
@@ -2223,7 +2223,6 @@ char	*coorsys;	/* Input world coordinate system:
 double	*xpix,*ypix;	/* Image coordinates in pixels */
 int	*offscl;	/* 0 if within bounds, else off scale */
 {
-    struct WorldCoor *depwcs;	/* Dependent WCS structure */
     double xp, yp, xpi, ypi;
     double eqin, eqout;
     int sysin;
@@ -2989,4 +2988,7 @@ char *cwcs;	/* Keyword suffix character for output WCS */
  * Mar 17 2011	Fix WCSDEP bug found by Ed Los
  * May  9 2011	Free WCS structure recursively if WCSDEP is used
  * Sep  1 2011	Add TPV projection type for SCAMP TAN with PVs
+ *
+ * Oct 19 2012	Drop d1 and d2 from wcsdist(); diffi from wcsdist1()
+ * Oct 19 2012	Drop depwcs; it's in main wcs structure
  */
diff --git a/libwcs/wcsinit.c b/libwcs/wcsinit.c
index 12d3ced..0b6c0af 100644
--- a/libwcs/wcsinit.c
+++ b/libwcs/wcsinit.c
@@ -1,8 +1,8 @@
 /*** File libwcs/wcsinit.c
- *** September 1, 2011
+ *** October 19, 2012
  *** By Jessica Mink, jmink at cfa.harvard.edu
  *** Harvard-Smithsonian Center for Astrophysics
- *** Copyright (C) 1998-2011
+ *** Copyright (C) 1998-2012
  *** Smithsonian Astrophysical Observatory, Cambridge, MA, USA
 
     This library is free software; you can redistribute it and/or
@@ -242,7 +242,6 @@ char *wchar;		/* Suffix character for one of multiple WCS */
     double ut;
     int nax;
     int twod;
-    int iszpx = 0;
     extern int tnxinit();
     extern int zpxinit();
     extern int platepos();
@@ -1179,7 +1178,7 @@ invert_wcs( struct WorldCoor *wcs)
 	lngstep = (ymax-ymin)/(WCS_NGRIDPOINTS-1.0);
 	lngmin = ymin;
 	latstep = (xmax-xmin)/(WCS_NGRIDPOINTS-1.0);
-	latmin - xmin;
+	latmin = xmin;
 	}
 
     outpos = (double *)calloc(2*WCS_NGRIDPOINTS2,sizeof(double));
@@ -1607,4 +1606,6 @@ char	*mchar;		/* Suffix character for one of multiple WCS */
  * Mar 18 2011	Add invert_wcs() by Emmanuel Bertin for SCAMP
  * Mar 18 2011	Change Bertin's ARCSEC/DEG to S2D and DEG/ARCSEC to D2S
  * Sep  1 2011	Add TPV as TAN with SCAMP PVs
+ *
+ * Oct 19 2012	Drop unused variable iszpx; fix bug in latmin assignment
  */
diff --git a/man b/man
deleted file mode 120000
index 233c4e1..0000000
--- a/man
+++ /dev/null
@@ -1 +0,0 @@
-Man
\ No newline at end of file
diff --git a/Man/man1/delhead.1 b/man/man1/delhead.1
similarity index 100%
rename from Man/man1/delhead.1
rename to man/man1/delhead.1
diff --git a/Man/man1/delwcs.1 b/man/man1/delwcs.1
similarity index 100%
rename from Man/man1/delwcs.1
rename to man/man1/delwcs.1
diff --git a/Man/man1/edhead.1 b/man/man1/edhead.1
similarity index 100%
rename from Man/man1/edhead.1
rename to man/man1/edhead.1
diff --git a/Man/man1/getcol.1 b/man/man1/getcol.1
similarity index 100%
rename from Man/man1/getcol.1
rename to man/man1/getcol.1
diff --git a/Man/man1/gethead.1 b/man/man1/gethead.1
similarity index 100%
rename from Man/man1/gethead.1
rename to man/man1/gethead.1
diff --git a/Man/man1/i2f.1 b/man/man1/i2f.1
similarity index 100%
rename from Man/man1/i2f.1
rename to man/man1/i2f.1
diff --git a/Man/man1/imcat.1 b/man/man1/imcat.1
similarity index 100%
rename from Man/man1/imcat.1
rename to man/man1/imcat.1
diff --git a/Man/man1/imgsc.1 b/man/man1/imgsc.1
similarity index 100%
rename from Man/man1/imgsc.1
rename to man/man1/imgsc.1
diff --git a/Man/man1/imhead.1 b/man/man1/imhead.1
similarity index 100%
rename from Man/man1/imhead.1
rename to man/man1/imhead.1
diff --git a/Man/man1/imrot.1 b/man/man1/imrot.1
similarity index 100%
rename from Man/man1/imrot.1
rename to man/man1/imrot.1
diff --git a/Man/man1/imsize.1 b/man/man1/imsize.1
similarity index 100%
rename from Man/man1/imsize.1
rename to man/man1/imsize.1
diff --git a/Man/man1/imstar.1 b/man/man1/imstar.1
similarity index 100%
rename from Man/man1/imstar.1
rename to man/man1/imstar.1
diff --git a/Man/man1/imua2.1 b/man/man1/imua2.1
similarity index 100%
rename from Man/man1/imua2.1
rename to man/man1/imua2.1
diff --git a/Man/man1/imusa2.1 b/man/man1/imusa2.1
similarity index 100%
rename from Man/man1/imusa2.1
rename to man/man1/imusa2.1
diff --git a/Man/man1/imwcs.1 b/man/man1/imwcs.1
similarity index 100%
rename from Man/man1/imwcs.1
rename to man/man1/imwcs.1
diff --git a/Man/man1/keyhead.1 b/man/man1/keyhead.1
similarity index 100%
rename from Man/man1/keyhead.1
rename to man/man1/keyhead.1
diff --git a/Man/man1/scat.1 b/man/man1/scat.1
similarity index 100%
rename from Man/man1/scat.1
rename to man/man1/scat.1
diff --git a/Man/man1/sethead.1 b/man/man1/sethead.1
similarity index 100%
rename from Man/man1/sethead.1
rename to man/man1/sethead.1
diff --git a/Man/man1/setpix.1 b/man/man1/setpix.1
similarity index 100%
rename from Man/man1/setpix.1
rename to man/man1/setpix.1
diff --git a/Man/man1/sgsc.1 b/man/man1/sgsc.1
similarity index 100%
rename from Man/man1/sgsc.1
rename to man/man1/sgsc.1
diff --git a/Man/man1/sky2xy.1 b/man/man1/sky2xy.1
similarity index 100%
rename from Man/man1/sky2xy.1
rename to man/man1/sky2xy.1
diff --git a/Man/man1/skycoor.1 b/man/man1/skycoor.1
similarity index 100%
rename from Man/man1/skycoor.1
rename to man/man1/skycoor.1
diff --git a/Man/man1/sua2.1 b/man/man1/sua2.1
similarity index 100%
rename from Man/man1/sua2.1
rename to man/man1/sua2.1
diff --git a/Man/man1/susa2.1 b/man/man1/susa2.1
similarity index 100%
rename from Man/man1/susa2.1
rename to man/man1/susa2.1
diff --git a/Man/man1/wcshead.1 b/man/man1/wcshead.1
similarity index 100%
rename from Man/man1/wcshead.1
rename to man/man1/wcshead.1
diff --git a/Man/man1/wcstools.1 b/man/man1/wcstools.1
similarity index 100%
rename from Man/man1/wcstools.1
rename to man/man1/wcstools.1
diff --git a/Man/man1/xy2sky.1 b/man/man1/xy2sky.1
similarity index 100%
rename from Man/man1/xy2sky.1
rename to man/man1/xy2sky.1
diff --git a/matchcat.c b/matchcat.c
index f7a0998..27e007c 100644
--- a/matchcat.c
+++ b/matchcat.c
@@ -36,7 +36,7 @@ static double matchrad = 5.0;	/* Initial match radius is 5 arcseconds */
 int version = 0;		/* If 1, print only program name and version */
 static void usage();
 
-static char *RevMsg = "MATCHCAT WCSTools 3.8.7, 10 August 2012, Jessica Mink SAO";
+static char *RevMsg = "MATCHCAT WCSTools 3.8.7, 19 October 2012, Jessica Mink SAO";
 
 main (ac, av)
 int ac;
diff --git a/nedname.c b/nedname.c
index 561bfb5..a9be5a3 100644
--- a/nedname.c
+++ b/nedname.c
@@ -9,7 +9,7 @@
 #include "libned/ned_client.h"
 #include "libwcs/wcs.h"
 
-static char *RevMsg = "WCSTools 3.8.7, 10 August 2012, Jessica Mink SAO";
+static char *RevMsg = "WCSTools 3.8.7, 19 October 2012, Jessica Mink SAO";
 
 extern int ned_errno;
 static void PrintUsage();
diff --git a/nedpos.c b/nedpos.c
index 82e40f1..a4c3162 100644
--- a/nedpos.c
+++ b/nedpos.c
@@ -10,7 +10,7 @@
 #include "libwcs/wcs.h"
 #include "libwcs/fitsfile.h"
 
-static char *RevMsg = "NEDPOS 3.8.7, 10 August 2012, Jessica Mink SAO";
+static char *RevMsg = "NEDPOS 3.8.7, 19 October 2012, Jessica Mink SAO";
 
 extern int ned_errno;
 static void PrintUsage();
diff --git a/newfits.c b/newfits.c
index 4c3fe4d..5ce42e3 100644
--- a/newfits.c
+++ b/newfits.c
@@ -47,7 +47,7 @@ extern void setcdelt();
 extern void setproj();
 extern struct WorldCoor *GetFITSWCS();
 
-static char *RevMsg = "NEWFITS WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "NEWFITS WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 static int verbose = 0;	/* verbose/debugging flag */
 static int bitpix = 0;	/* number of bits per pixel (FITS code, 0=no image) */
 static int version = 0;	/* If 1, print only program name and version */
diff --git a/remap.c b/remap.c
index 7bd4429..2bbd338 100644
--- a/remap.c
+++ b/remap.c
@@ -50,7 +50,7 @@ static char *outname0 = "remap.fits";
 static char *outname;
 static char *wcsproj;           /* WCS projection name */
 
-static char *RevMsg = "REMAP WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "REMAP WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 static int nfiles = 0;
 static int fitsout = 1;
 static double secpix = 0;
diff --git a/revup.sed b/revup.sed
index 7b376a5..2dedc81 100644
--- a/revup.sed
+++ b/revup.sed
@@ -1 +1 @@
-1,$s/3\.8\.6, 23 May 2012/3\.8\.7, 10 August 2012/
+1,$s/3\.8\.6, 2 October 2012/3\.8\.7, 19 October 2012/
diff --git a/scat.c b/scat.c
index 9b9f227..da1af6d 100644
--- a/scat.c
+++ b/scat.c
@@ -33,7 +33,7 @@
 #include "libwcs/fitsfile.h"
 #include "libwcs/wcscat.h"
 
-static char *RevMsg = "WCSTools 3.8.7, 10 August 2012, Jessica Mink SAO";
+static char *RevMsg = "WCSTools 3.8.7, 19 October 2012, Jessica Mink SAO";
 
 static void PrintUsage();
 	static int scatparm();
diff --git a/sethead.c b/sethead.c
index a7a762e..1bffcb4 100644
--- a/sethead.c
+++ b/sethead.c
@@ -66,7 +66,7 @@ static int addwcs = 0;
 static int errflag = 0;		/* Error return from program */
 static char *rootdir=NULL;	/* Root directory for input files */
 
-static char *RevMsg = "SETHEAD WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "SETHEAD WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/setpix.c b/setpix.c
index 1cd0555..f020fca 100644
--- a/setpix.c
+++ b/setpix.c
@@ -48,7 +48,7 @@ static int version = 0;		/* If 1, print only program name and version */
 static int logrange = 1;	/* Log pixel change in image header */
 static char *pform = NULL;	/* Format in which to print pixels */
 
-static char *RevMsg = "SETPIX WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "SETPIX WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/simpos.c b/simpos.c
index 64a47a8..5263811 100644
--- a/simpos.c
+++ b/simpos.c
@@ -12,7 +12,7 @@
 
 extern int   ned_errno;
 static void PrintUsage();
-static char *RevMsg = "SIMPOS 3.8.7, 10 August 2012, Jessica Mink SAO";
+static char *RevMsg = "SIMPOS 3.8.7, 19 October 2012, Jessica Mink SAO";
 
 int
 main (ac, av)
diff --git a/simposx.c b/simposx.c
index 904d85d..a8d8df9 100644
--- a/simposx.c
+++ b/simposx.c
@@ -12,7 +12,7 @@
 
 extern int   ned_errno;
 static void PrintUsage();
-static char *RevMsg = "SIMPOS 3.8.7, 10 August 2012, Jessica Mink SAO";
+static char *RevMsg = "SIMPOS 3.8.7, 19 October 2012, Jessica Mink SAO";
 
 int
 main (ac, av)
diff --git a/sky2xy.c b/sky2xy.c
index dfc9c92..0b2347d 100644
--- a/sky2xy.c
+++ b/sky2xy.c
@@ -39,7 +39,7 @@ extern struct WorldCoor *GetWCSFITS ();	/* Read WCS from FITS or IRAF file */
 extern char *GetFITShead();
 static int version = 0;		/* If 1, print only program name and version */
 
-static char *RevMsg = "SKY2XY WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "SKY2XY WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/skycoor.c b/skycoor.c
index 405c0cc..c397300 100644
--- a/skycoor.c
+++ b/skycoor.c
@@ -51,7 +51,7 @@ static double decpm = 0.0;	/* Declination proper motion in mas/year */
 static int epset = 0;
 static int inhours = 0;
 
-static char *RevMsg = "SKYCOOR WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "SKYCOOR WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/sp2char.c b/sp2char.c
index 1186be9..bd2c94f 100644
--- a/sp2char.c
+++ b/sp2char.c
@@ -40,7 +40,7 @@ static int verbose = 0;		/* verbose/debugging flag */
 static int version = 0;		/* If 1, print only program name and version */
 static char spchar = '_';
 
-static char *RevMsg = "SP2CHAR WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "SP2CHAR WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/subpix.c b/subpix.c
index abb555d..4536c85 100644
--- a/subpix.c
+++ b/subpix.c
@@ -38,7 +38,7 @@ static int newimage = 0;
 static int verbose = 0;		/* verbose flag */
 static int version = 0;		/* If 1, print only program name and version */
 
-static char *RevMsg = "SUBPIX WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "SUBPIX WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/sumpix.c b/sumpix.c
index 0ff7b7c..7ce0432 100644
--- a/sumpix.c
+++ b/sumpix.c
@@ -36,7 +36,7 @@ static void usage();
 static void SumPix();
 extern double PhotPix();
 
-static char *RevMsg = "SUMPIX WCSTools 3.8.7, 10 August 2012, Jessica Mink SAO";
+static char *RevMsg = "SUMPIX WCSTools 3.8.7, 19 October 2012, Jessica Mink SAO";
 
 static int verbose = 0;		/* verbose/debugging flag */
 static int version = 0;	/* If 1, print only program name and version */
diff --git a/testrot.c b/testrot.c
index e60ed3b..58b6f24 100644
--- a/testrot.c
+++ b/testrot.c
@@ -24,7 +24,7 @@ static int hms = 0;		/* 1 for output in hh:mm:ss dd:mm:ss */
 static int nf = 0;
 static int version = 0;		/* If 1, print only program name and version */
 
-static char *RevMsg = "TESTROT WCSTools 3.8.7, 10 August 2012, Jessica Mink SAO";
+static char *RevMsg = "TESTROT WCSTools 3.8.7, 19 October 2012, Jessica Mink SAO";
 
 main (ac, av)
 int ac;
diff --git a/wcshead.c b/wcshead.c
index 40e88a1..a70c1d3 100644
--- a/wcshead.c
+++ b/wcshead.c
@@ -47,7 +47,7 @@ static int restwave = 0;	/* If 1, print first dimension limits */
 static int printhead = 1;	/* 1 until header has been printed */
 static char *rootdir=NULL;	/* Root directory for input files */
 
-static char *RevMsg = "WCSHEAD WCSTools 3.8.7, 10 August 2012, Jessica Mink SAO";
+static char *RevMsg = "WCSHEAD WCSTools 3.8.7, 19 October 2012, Jessica Mink SAO";
 
 int
 main (ac, av)
diff --git a/xy2sky.c b/xy2sky.c
index dc81b17..97dbb2b 100644
--- a/xy2sky.c
+++ b/xy2sky.c
@@ -49,7 +49,7 @@ static int printhead = 0;
 static char printonly = 'n';
 static int version = 0;		/* If 1, print only program name and version */
 
-static char *RevMsg = "XY2SKY WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "XY2SKY WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)
diff --git a/xy2sky1.c b/xy2sky1.c
index 5cfc0ea..1e149e8 100644
--- a/xy2sky1.c
+++ b/xy2sky1.c
@@ -51,7 +51,7 @@ static int sizeset = 0;
 static int scaleset = 0;
 static int version = 0;		/* If 1, print only program name and version */
 
-static char *RevMsg = "XY2SKY WCSTools 3.8.7, 10 August 2012, Jessica Mink (jmink at cfa.harvard.edu)";
+static char *RevMsg = "XY2SKY WCSTools 3.8.7, 19 October 2012, Jessica Mink (jmink at cfa.harvard.edu)";
 
 int
 main (ac, av)

-- 
Create, display and manipulate the world coordinate system



More information about the debian-science-commits mailing list