Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump version to 7.4.0; change policy regarding version numbers
* ChangeLog: Update. * README.md: Bump version. * configure.ac (AC_INIT): Likewise. * include/gc_version.h (GC_TMP_VERSION_MINOR): Likewise. * alloc.c (GC_version, GC_get_version): Replace GC_TMP_ALPHA_VERSION with GC_VERSION_MICRO. * doc/debugging.html: Remove comment about "alpha" versions. * doc/overview.html: Likewise. * include/gc.h (GC_get_version): Update comment. * include/gc_version.h (GC_NOT_ALPHA): Remove. * include/gc_version.h (GC_TMP_ALPHA_VERSION): Replace with GC_TMP_VERSION_MICRO; add comment about policy. * m4/gc_set_version.m4 (GC_ALPHA_VERSION): Replace with GC_VERSION_MICRO; update comments; adjust version format test. * tests/test.c (GC_ALPHA_VERSION): Remove. * tools/add_gc_prefix.c (GC_ALPHA_VERSION): Likewise. * tools/gcname.c (GC_ALPHA_VERSION): Likewise. * tests/test.c (CHECH_GCLIB_VERSION): Replace GC_ALPHA_VERSION with GC_VERSION_MICRO. * tools/add_gc_prefix.c (main): Replace "gc%d.%d[alpha%d]" print format with "gc-%d.%d.%d" one. * tools/gcname.c (main): Likewise. * windows-untested/gc.ver (_BETA, GC_VERSION_MICRO): Remove.
- Loading branch information
Showing
13 changed files
with
35 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,13 @@ | ||
# include <stdio.h> | ||
# include <gc.h> | ||
|
||
#ifndef GC_ALPHA_VERSION | ||
# define GC_ALPHA_VERSION GC_TMP_ALPHA_VERSION | ||
#endif | ||
|
||
int main(int argc, char ** argv) | ||
{ | ||
int i; | ||
|
||
for (i = 1; i < argc; i++) { | ||
if (GC_ALPHA_VERSION == GC_NOT_ALPHA) { | ||
printf("gc%d.%d/%s ", GC_VERSION_MAJOR, GC_VERSION_MINOR, argv[i]); | ||
} else { | ||
printf("gc%d.%dalpha%d/%s ", GC_VERSION_MAJOR, | ||
GC_VERSION_MINOR, GC_ALPHA_VERSION, argv[i]); | ||
} | ||
printf("gc-%d.%d.%d/%s ", | ||
GC_VERSION_MAJOR, GC_VERSION_MINOR, GC_VERSION_MICRO, argv[i]); | ||
} | ||
return(0); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
#include <stdio.h> | ||
#include <gc.h> | ||
|
||
#ifndef GC_ALPHA_VERSION | ||
# define GC_ALPHA_VERSION GC_TMP_ALPHA_VERSION | ||
#endif | ||
|
||
int main(void) | ||
{ | ||
if (GC_ALPHA_VERSION == GC_NOT_ALPHA) { | ||
printf("gc%d.%d", GC_VERSION_MAJOR, GC_VERSION_MINOR); | ||
} else { | ||
printf("gc%d.%dalpha%d", GC_VERSION_MAJOR, | ||
GC_VERSION_MINOR, GC_ALPHA_VERSION); | ||
} | ||
printf("gc-%d.%d.%d", | ||
GC_VERSION_MAJOR, GC_VERSION_MINOR, GC_VERSION_MICRO); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters