Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Apr 2, 2019
1 parent e723238 commit 3f28eed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ AC_CONFIG_SRCDIR(src/clib/pio_darray.c)
AM_INIT_AUTOMAKE([foreign serial-tests])

# The PIO version, again.
AC_DEFINE([VERSION_MAJOR], [2], [PIO major version])
AC_DEFINE([VERSION_MINOR], [4], [PIO minor version])
AC_DEFINE([VERSION_PATCH], [1], [PIO patch version])
AC_DEFINE([PIO_VERSION_MAJOR], [2], [PIO major version])
AC_DEFINE([PIO_VERSION_MINOR], [4], [PIO minor version])
AC_DEFINE([PIO_VERSION_PATCH], [1], [PIO patch version])

# Once more for the documentation.
AC_SUBST([VERSION_MAJOR], [2])
Expand Down
2 changes: 1 addition & 1 deletion src/clib/pioc_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ int pioc_write_nc_decomp_int(iosystem_desc_t *ios, const char *filename, int cmo

/* Write an attribute with the version of this file. */
char version[PIO_MAX_NAME + 1];
sprintf(version, "%d.%d.%d", VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
sprintf(version, "%d.%d.%d", PIO_VERSION_MAJOR, PIO_VERSION_MINOR, PIO_VERSION_PATCH);
if ((ret = PIOc_put_att_text(ncid, NC_GLOBAL, DECOMP_VERSION_ATT_NAME,
strlen(version) + 1, version)))
return pio_err(ios, NULL, ret, __FILE__, __LINE__);
Expand Down

0 comments on commit 3f28eed

Please sign in to comment.