You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2009/10/12 14:32:23 UTC
svn commit: r824319 -
/harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/jet.cpp
Author: hindessm
Date: Mon Oct 12 12:32:23 2009
New Revision: 824319
URL: http://svn.apache.org/viewvc?rev=824319&view=rev
Log:
Remove more CVS keywords (and make "java -XX:jit.arg.show=version" output
more helpful). Oddly, the help seems to imply that
"java -Djit.jet.arg.show=version" should work but it doesn't for me.
Modified:
harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/jet.cpp
Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/jet.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/jet.cpp?rev=824319&r1=824318&r2=824319&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/jet.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/jet.cpp Mon Oct 12 12:32:23 2009
@@ -141,6 +141,7 @@
#include "trace.h"
#include "mkernel.h"
#include "PlatformDependant.h"
+#include "version.h"
#include <set>
#include <string>
@@ -357,8 +358,7 @@
if (buf[0] != 0) return buf;
unsigned len = sizeof(buf)-1;
- const char revision[] = "$Revision$";
- const char branch[] = "$Name$";
+ const char revision[] = VERSION_SVN_TAG;
#ifdef PROJECT_JET
#define ALONE_STR ", alone"
@@ -378,20 +378,16 @@
#define COMP_STR ""
#endif
- char revision_buf[80] = {0}, branch_buf[80] = {0};
- if (revision[0] != '$') {
+ char revision_buf[80] = {0};
+ if (revision[0] != 'u') { /* ignore 'u'nknown */
snprintf(revision_buf, sizeof(revision_buf)-1, " Rev.: %s.",
revision);
}
- if (branch[0] != '$') {
- snprintf(branch_buf, sizeof(branch_buf)-1, " Br.: %s.",
- branch);
- }
snprintf(buf, len,
"Jitrino.JET" DBG_STR COMP_STR ALONE_STR ": "
"Built: " __DATE__ " " __TIME__
- ".%s%s", branch_buf, revision_buf);
+ ".%s", revision_buf);
return buf;
}