diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-06-17 17:39:48 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-06-17 17:39:48 +0000 |
commit | 5362074527684d60cbb8d3d79f4cf441dff5ec24 (patch) | |
tree | 3a84f219151476e3a79a9c9001da8efb15a11c9f /java/eclipse/files/patch-eclipseMotif.c | |
parent | Update to 0.4.2 (diff) |
Add eclipse 2.1, An open extensible IDE for anything and nothing
in particular.
Submitted by: kan
Notes
Notes:
svn path=/head/; revision=83172
Diffstat (limited to 'java/eclipse/files/patch-eclipseMotif.c')
-rw-r--r-- | java/eclipse/files/patch-eclipseMotif.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/java/eclipse/files/patch-eclipseMotif.c b/java/eclipse/files/patch-eclipseMotif.c new file mode 100644 index 000000000000..c999493f7458 --- /dev/null +++ b/java/eclipse/files/patch-eclipseMotif.c @@ -0,0 +1,14 @@ +--- plugins/platform-launcher/library/motif/eclipseMotif.c.orig Fri Nov 8 05:17:00 2002 ++++ plugins/platform-launcher/library/motif/eclipseMotif.c Fri Nov 29 05:55:57 2002 +@@ -323,7 +323,11 @@ + if (jvmProcess != 0) + { + wait( &exitCode ); ++#if !defined(__FreeBSD__) + jvmExitCode = ((exitCode & 0x00ff) == 0 ? (exitCode >> 8) : exitCode); /* see wait(2) */ ++#else ++ jvmExitCode = WIFEXITED(exitCode) ? WEXITSTATUS(exitCode) : exitCode; /* see wait(2) */ ++#endif + } + + /* Return the exit code from the JVM. */ |