netcdf-3.1a: RCS keyword substitution creates minor problem

Netcdf'ers:

In the intial release of netcdf-3.1a, I neglected
to "escape" some strings in libsrc/netcdf.3 and libsrc/libvers.c.
The result is that the string returned by nc_libvers() was not as intended
and the documentation was inconsistant.

This problem is corrected in the ftp distribution now.

This version string is arbitrary.
It is not necessary get a new copy of the distribution or patch
and rebuild.

For purists, there is patch appended to this message.

-glenn


diff -rc netcdf-3.1a-/src/libsrc/libvers.c netcdf-3.1a/src/libsrc/libvers.c
*** netcdf-3.1a-/src/libsrc/libvers.c   Fri Aug 23 19:21:02 1996
--- netcdf-3.1a/src/libsrc/libvers.c    Fri Sep  6 16:06:29 1996
***************
*** 2,8 ****
   *    Copyright 1996, University Corporation for Atmospheric Research
   *      See netcdf/COPYRIGHT file for copying and redistribution conditions.
   */
! /* $Id: libvers.c,v 2.2 1996/08/24 01:21:02 davis Exp $ */
  
  #include "netcdf.h"
  
--- 2,8 ----
   *    Copyright 1996, University Corporation for Atmospheric Research
   *      See netcdf/COPYRIGHT file for copying and redistribution conditions.
   */
! /* $Id: libvers.c,v 2.3 1996/09/06 22:04:04 davis Exp $ */
  
  #include "netcdf.h"
  
***************
*** 12,18 ****
   */
  #define SKIP_LEADING_GARBAGE 33       /* # of chars prior to the actual 
version */
  static const char nc_libvers[]
!        "$Id: libvers.c,v 2.2 1996/08/24 01:21:02 davis Exp $";
  
  const char *
  nc_inq_libvers(void)
--- 12,18 ----
   */
  #define SKIP_LEADING_GARBAGE 33       /* # of chars prior to the actual 
version */
  static const char nc_libvers[]
!       "\044Id: \100(#) netcdf library version ""3.1a"" of "__DATE__" 
"__TIME__" $";
  
  const char *
  nc_inq_libvers(void)
diff -rc netcdf-3.1a-/src/libsrc/netcdf.3 netcdf-3.1a/src/libsrc/netcdf.3
*** netcdf-3.1a-/src/libsrc/netcdf.3    Fri Aug 30 10:03:17 1996
--- netcdf-3.1a/src/libsrc/netcdf.3     Fri Sep  6 16:01:15 1996
***************
*** 21,27 ****
  when it was built, like: "3.1a of Aug 22 1996 12:57:47 $".
  .LP
  The RCS \fBident(1)\fP command will find a string like
! "$Id: netcdf.3,v 2.6 1996/08/27 16:06:11 russ Exp $"
  in the library. The SCCS \fBwhat(1)\fP command will find a string like
  "netcdf library version 3.1a of Aug 23 1996 16:07:40 $".
  .SH "RETURN VALUES"
--- 21,27 ----
  when it was built, like: "3.1a of Aug 22 1996 12:57:47 $".
  .LP
  The RCS \fBident(1)\fP command will find a string like
! "$\|Id: @\|(#) netcdf library version 3.1a of Sep  6 1996 15:56:26 $"
  in the library. The SCCS \fBwhat(1)\fP command will find a string like
  "netcdf library version 3.1a of Aug 23 1996 16:07:40 $".
  .SH "RETURN VALUES"
  • 1996 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: