You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ge...@apache.org on 2005/10/10 15:50:08 UTC
svn commit: r312654 - in
/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src:
cfmacros.h tmparea.c
Author: geirm
Date: Mon Oct 10 06:50:03 2005
New Revision: 312654
URL: http://svn.apache.org/viewcvs?rev=312654&view=rev
Log:
cfmacros : correct a #define
tmparea : stupid hack for now so I don't have to figure out how to
fix for windows
Modified:
incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmacros.h
incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/tmparea.c
Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmacros.h
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmacros.h?rev=312654&r1=312653&r2=312654&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmacros.h (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmacros.h Mon Oct 10 06:50:03 2005
@@ -724,7 +724,7 @@
*
* @brief Inline the logic to swap bytes on multi-byte elements.
*
- * This is only meaningful on CONFIG_LITTLE_ENDIAN architectures.
+ * This is only meaningful on ARCH_LITTLE_ENDIAN architectures.
* (Notice that if @p @b member does not match the pointer's
* type, there @e will be a compile warning or error.)
*
@@ -756,7 +756,7 @@
/*@{ */ /* Begin grouped definitions */
-#ifdef CONFIG_LITTLE_ENDIAN
+#ifdef ARCH_LITTLE_ENDIAN
#define CP_ITEM_SWAP_U2(type, member) \
pcpu2 = &(((type *) &pcpd->cp)->member); \
MACHINE_JSHORT_SWAP_PTR(pcpu2)
Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/tmparea.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/tmparea.c?rev=312654&r1=312653&r2=312654&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/tmparea.c (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/tmparea.c Mon Oct 10 06:50:03 2005
@@ -93,9 +93,9 @@
"%s%ctmp.%s.%d",
env_tmpdir,
JVMCFG_PATHNAME_DELIMITER_CHAR,
- argv0name,
+ "bootJVM", /* @todo fix gmj : argv0name, */
pid);
-
+
int rc = mkdir(tmparea, 0755); /* Could use <sys/stat.h> constants*/
/* Verify existence of directory */