stardis-green

Post-processing of green functions
git clone git://git.meso-star.fr/stardis-green.git
Log | Files | Refs | README | LICENSE

commit 9311acd3891974d2406a6bff4798cab5d67291c7
parent c3b3b9e7ab084186281ddf90941b2c717d3b7a77
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Wed, 22 Sep 2021 11:23:53 +0200

Merge branch 'release_0.2.1'

Diffstat:
MREADME.md | 4++++
Mcmake/CMakeLists.txt | 2+-
Msrc/green-main.c | 5++---
Msrc/green-output.c | 9+++++++--
4 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md @@ -24,6 +24,10 @@ variable the install directories of its dependencies. ## Release notes +### Version 0.2.1 + +- Fix a bug that could cause a crash. + ### Version 0.2 - Add connections to html output. diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -42,7 +42,7 @@ configure_file(${GREEN_SOURCE_DIR}/../doc/sgreen.1.txt.in set(GREEN_VERSION_MAJOR 0) set(GREEN_VERSION_MINOR 2) -set(GREEN_VERSION_PATCH 0) +set(GREEN_VERSION_PATCH 1) set(GREEN_VERSION ${GREEN_VERSION_MAJOR}.${GREEN_VERSION_MINOR}.${GREEN_VERSION_PATCH}) configure_file(${GREEN_SOURCE_DIR}/green-default.h.in diff --git a/src/green-main.c b/src/green-main.c @@ -90,7 +90,7 @@ main } else { res_T tmp_res; tmp_res = read_green_function(&green, stream); - fclose(stream); + fclose(stream); stream = NULL; if(tmp_res == RES_MEM_ERR) { logger_print(&logger, LOG_ERROR, "Could not allocate memory.\n"); res = tmp_res; @@ -172,4 +172,4 @@ exit: error: err = EXIT_FAILURE; goto exit; -} -\ No newline at end of file +} diff --git a/src/green-output.c b/src/green-output.c @@ -97,6 +97,12 @@ short_help fprintf(stream, "\n -V LEVEL\n"); fprintf(stream, " Set the verbosity level.\n"); + + fprintf(stream, +"\nCopyright (C) 2020-2021 |Meso|Star> <contact@meso-star.com>.\n" +"stardis-green is free software released under the GNU GPL license, version 3 or later.\n" +"You are free to change or redistribute it under certain conditions\n" +"<http://gnu.org/licenses/gpl.html>.\n"); } void @@ -604,4 +610,4 @@ dump_green_info } #undef CELL -#undef VAR_CELL -\ No newline at end of file +#undef VAR_CELL