[fitsbits] WCSLIB 7.7 released

Mark Calabretta mark at calabretta.id.au
Mon Jul 12 03:16:29 EDT 2021


Greetings,

WCSLIB 7.7 is now available:

  ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-7.7.tar.bz2

It contains a number of minor bug and portability fixes, as per the
change log appended below.

I have had reports of difficulties accessing ftp servers using the
latest version of some browsers, e.g. Firefox 89.0.2, which has ftp
transfer disabled by default.

In Firefox, type "about:config" in the search bar, "Accept the Risk
and Continue", search for parameter "network.ftp.enabled", and set it
true.

Presumably similar tweaks are possible for other browsers, or else you
can resort to using 'wget'.

Mark Calabretta


WCSLIB version 7.7 (2021/07/12)
-------------------------------

* C library

  - In disfree() and disset(), removed potential for double invokation
    of free() on allocated memory.  Reported by Cyril Richard.

  - In wcsutil_fptr2str(), fixed a bug reported by Ralf Palsa (with fix)
    that caused it to be overly enthusiastic in stripping leading zeroes
    off addresses of function pointers.

  - In wcspcx(), replaced variable length arrays will allocated memory
    (portability issue).  Reported by Mihai Cara with patch.

  - Fixed buglets in wcsbth() and linsize() uncovered by gcc 11.1.0.

  - Quelled inconsequential compiler warnings from gcc 11.1.0 concerning
    wcsmix() (function prototype in wcs.h), wcstrim(), wcseulexe(),
    wcsulex(), and wcsutrne().

  - Defined _POSIX_C_SOURCE appropriately in tprj2.c and tspc.c to get
    the function prototype etc. for nanosleep() from time.h.

* Fortran wrappers

  - Quelled numerous inconsequential compiler warnings from gfortran
    11.1.0.

  - Fixed minor bugs uncovered by gfortran 11.1.0 in test programs tdis2
    and ttab3.

* Utilities

  - Moved 'tofits' from ./C/test/ into the utilities directory as it's
    generally useful, and added usage (converted to man page).

    Also made it a bit smarter in dealing with ISO/IEC 8859 and UTF-8
    encoded byte streams, in particular translating non-breaking spaces
    into ordinary spaces.

* Installation

  - Two patches for configure.ac provided by Mosé Giordano:
    1. makes it possible to build the Windows library using the MinGW
       cross-compiler,
    2. makes the soname of the MacOSX library consistent with other
       Unix systems.



More information about the fitsbits mailing list