make this branch recognizable for post-3.6.3 patch commits and patch tests
This commit is contained in:
@@ -11,14 +11,15 @@
|
|||||||
/*
|
/*
|
||||||
* Development status possibilities.
|
* Development status possibilities.
|
||||||
*/
|
*/
|
||||||
#define NH_STATUS_RELEASED 0 /* Released */
|
#define NH_STATUS_RELEASED 0 /* Released */
|
||||||
#define NH_STATUS_WIP 1 /* Work in progress */
|
#define NH_STATUS_WIP 1 /* Work in progress */
|
||||||
#define NH_STATUS_BETA 2 /* BETA testing */
|
#define NH_STATUS_BETA 2 /* BETA testing */
|
||||||
|
#define NH_STATUS_POSTRELEASE 3 /* patch commit point only */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Development status of this NetHack version.
|
* Development status of this NetHack version.
|
||||||
*/
|
*/
|
||||||
#define NH_DEVEL_STATUS NH_STATUS_RELEASED
|
#define NH_DEVEL_STATUS NH_STATUS_POSTRELEASE
|
||||||
|
|
||||||
#ifndef DEBUG /* allow tool chains to define without causing warnings */
|
#ifndef DEBUG /* allow tool chains to define without causing warnings */
|
||||||
#define DEBUG
|
#define DEBUG
|
||||||
|
|||||||
@@ -1201,16 +1201,20 @@ char *outbuf;
|
|||||||
const char *build_date;
|
const char *build_date;
|
||||||
{
|
{
|
||||||
char subbuf[64], versbuf[64];
|
char subbuf[64], versbuf[64];
|
||||||
char betabuf[64];
|
char statusbuf[64];
|
||||||
|
|
||||||
#if (NH_DEVEL_STATUS != NH_STATUS_RELEASED)
|
#if (NH_DEVEL_STATUS != NH_STATUS_RELEASED)
|
||||||
#if (NH_DEVEL_STATUS == NH_STATUS_BETA)
|
#if (NH_DEVEL_STATUS == NH_STATUS_BETA)
|
||||||
Strcpy(betabuf, " Beta");
|
Strcpy(statusbuf, " Beta");
|
||||||
#else
|
#else
|
||||||
Strcpy(betabuf, " Work-in-progress");
|
#if (NH_DEVEL_STATUS == NH_STATUS_WIP)
|
||||||
|
Strcpy(statusbuf, " Work-in-progress");
|
||||||
|
#else
|
||||||
|
Strcpy(statusbuf, " post-release");
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
betabuf[0] = '\0';
|
statusbuf[0] = '\0';
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
subbuf[0] = '\0';
|
subbuf[0] = '\0';
|
||||||
@@ -1220,7 +1224,7 @@ const char *build_date;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
Sprintf(outbuf, "%s NetHack%s Version %s%s - last %s %s.", PORT_ID,
|
Sprintf(outbuf, "%s NetHack%s Version %s%s - last %s %s.", PORT_ID,
|
||||||
subbuf, version_string(versbuf, "."), betabuf,
|
subbuf, version_string(versbuf, "."), statusbuf,
|
||||||
date_via_env ? "revision" : "build", build_date);
|
date_via_env ? "revision" : "build", build_date);
|
||||||
return outbuf;
|
return outbuf;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user