summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-04-09 12:06:56 +0000
committeriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-04-09 12:06:56 +0000
commita653b01a1035f7fd9bedf11ed647b72e09c2d16c (patch)
tree6135711a0ad824c63cba5b75c242c896eb6b166b
parent1f60a7c117e243ed9508132351ad23596be2d9cf (diff)
downloadATCD-a653b01a1035f7fd9bedf11ed647b72e09c2d16c.tar.gz
Merged revisions 81286-81292 via svnmerge from
https://svn.dre.vanderbilt.edu/DOC/Middleware/trunk/ACE ........ r81286 | johnnyw | 2008-04-09 02:27:30 -0500 (Wed, 09 Apr 2008) | 1 line Wed Apr 9 07:18:57 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl> ........ r81287 | johnnyw | 2008-04-09 03:06:37 -0500 (Wed, 09 Apr 2008) | 1 line Wed Apr 9 08:06:57 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl> ........ r81288 | johnnyw | 2008-04-09 06:11:59 -0500 (Wed, 09 Apr 2008) | 1 line Wed Apr 9 11:11:57 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl> ........ r81289 | johnnyw | 2008-04-09 06:12:51 -0500 (Wed, 09 Apr 2008) | 1 line ........ r81290 | johnnyw | 2008-04-09 06:13:30 -0500 (Wed, 09 Apr 2008) | 1 line ........ r81291 | johnnyw | 2008-04-09 06:42:07 -0500 (Wed, 09 Apr 2008) | 1 line Wed Apr 9 11:41:57 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl> ........ r81292 | elliott_c | 2008-04-09 06:50:37 -0500 (Wed, 09 Apr 2008) | 1 line ChangeLogTag: Wed Apr 9 11:50:27 UTC 2008 Chad Elliott <elliott_c@ociweb.com> ........
-rw-r--r--ACE/ChangeLog57
-rw-r--r--ACE/ace/Based_Pointer_T.h6
-rw-r--r--ACE/ace/High_Res_Timer.h2
-rw-r--r--ACE/ace/MMAP_Memory_Pool.cpp27
-rw-r--r--ACE/ace/MMAP_Memory_Pool.h23
-rw-r--r--ACE/ace/Naming_Context.cpp40
-rw-r--r--ACE/ace/OS_NS_errno.h2
-rw-r--r--ACE/ace/Select_Reactor_T.cpp8
-rw-r--r--ACE/ace/Service_Config.h2
-rw-r--r--ACE/ace/Service_Gestalt.cpp8
-rw-r--r--ACE/ace/Svc_Conf.y16
-rw-r--r--ACE/ace/Svc_Conf_y.cpp20
-rw-r--r--ACE/bin/MakeProjectCreator/modules/VXTestProjectCreator.pm16
-rw-r--r--ACE/bin/MakeProjectCreator/modules/VXTestWorkspaceCreator.pm2
-rw-r--r--ACE/tests/Bug_2980_Regression_Test.cpp8
15 files changed, 167 insertions, 70 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index 6310449cce1..5cb2ebbdf34 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,58 @@
+Wed Apr 9 11:50:27 UTC 2008 Chad Elliott <elliott_c@ociweb.com>
+
+ * bin/MakeProjectCreator/modules/VXTestProjectCreator.pm:
+
+ Added a need_to_write_project override method to only allow the
+ project file to be written if it is an executable project.
+
+ * bin/MakeProjectCreator/modules/VXTestWorkspaceCreator.pm:
+
+ Fixed a bug where an invalid base module was used in the @ISA.
+
+Wed Apr 9 11:41:57 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * tests/Bug_2980_Regression_Test.cpp:
+ Check for ACE_VXWORKS
+
+Wed Apr 9 11:11:57 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * ace/Svc_Conf_y.cpp:
+ Fixed unicode build problems
+
+Wed Apr 9 08:06:57 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * ace/Svc_Conf.y:
+ * ace/Svc_Conf_y.cpp:
+ Fixed unicode build problems
+
+Wed Apr 9 07:18:57 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * ace/Service_Config.h:
+ Export ACE_Threading_Helper, it is used as protected class
+ member
+
+ * ace/Service_Gestalt.cpp:
+ Don't use ACE_LIB_TEXT
+
+ * ace/High_Res_Timer.h:
+ * ace/Based_Pointer_T.h:
+ Doxygen changes
+
+ * ace/Naming_Context.cpp:
+ Fixed gcc 4.3 warning
+
+ * ace/OS_NS_errno.h (last_error):
+ Give the argument a name so that doxygen can do its work
+
+ * ace/Select_Reactor_T.cpp:
+ Use scoping
+
+ * ace/MMAP_Memory_Pool.{h,cpp}:
+ Add a bool flag to indicate whether the signal handler has to
+ be installed or not. Made some other flags bool and win32 there
+ is no need have a signal handler as member. This fixes bugzilla
+ 3290
+
Wed Apr 9 02:43:37 UTC 2008 Iliyan Jeliazkov <iliyan@ociweb.com>
* ace/Dynamic_Service.inl (instance):
@@ -19,7 +74,7 @@ Wed Apr 9 01:21:42 UTC 2008 Douglas C. Schmidt <schmidt@dre.vanderbilt.edu>
* ace/Condition_T.cpp (wait): Fixed a bug where the mutex
parameter wasn't being used properly if abstime was 0. Thanks
- to Andriy Gapon <avg at icyb dot net dot ua> for reporting this.
+ to Andriy Gapon <avg at icyb dot net dot ua> for reporting this.
Mon Apr 7 18:49:57 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
diff --git a/ACE/ace/Based_Pointer_T.h b/ACE/ace/Based_Pointer_T.h
index bb5874f002f..22653799b40 100644
--- a/ACE/ace/Based_Pointer_T.h
+++ b/ACE/ace/Based_Pointer_T.h
@@ -64,7 +64,7 @@ public:
ACE_Based_Pointer_Basic (void);
/**
- * Initialize this object using the <initial> pointer. This
+ * Initialize this object using the @a initial pointer. This
* constructor initializes the <base_offset_> by asking the
* <ACE_BASED_POINTER_REPOSITORY> Singleton for the base address of
* the memory region within which it is instantiated. Three results
@@ -81,7 +81,7 @@ public:
* based-pointer uses its address as an offset to its base
* address 0.
*
- * 3. If <initial> is 0 then set the value of <target_> to -1, which
+ * 3. If @a initial is 0 then set the value of <target_> to -1, which
* indicates a "NULL" pointer.
*/
ACE_Based_Pointer_Basic (CONCRETE *initial);
@@ -89,7 +89,7 @@ public:
/// Copy constructor.
ACE_Based_Pointer_Basic (const ACE_Based_Pointer_Basic<CONCRETE> &);
- /// Constructor for know base address. <o> is only used to
+ /// Constructor for know base address. @a o is only used to
/// resolve overload ambiguity.
ACE_Based_Pointer_Basic (const void *base_addr, int o);
diff --git a/ACE/ace/High_Res_Timer.h b/ACE/ace/High_Res_Timer.h
index 4fa0b64c391..642ffc796c5 100644
--- a/ACE/ace/High_Res_Timer.h
+++ b/ACE/ace/High_Res_Timer.h
@@ -125,7 +125,7 @@ public:
#endif /* ACE_HR_SCALE_CONVERSION */
/**
- * Sets the global_scale_factor to the value in the <env>
+ * Sets the global_scale_factor to the value in the @a env
* environment variable. Returns 0 on success, -1 on failure.
* @note If @a env points to string "0" (value zero), this call will fail.
* This is basically a no-op on CE because there is no concept of
diff --git a/ACE/ace/MMAP_Memory_Pool.cpp b/ACE/ace/MMAP_Memory_Pool.cpp
index 1051b33d9ec..e77c1205993 100644
--- a/ACE/ace/MMAP_Memory_Pool.cpp
+++ b/ACE/ace/MMAP_Memory_Pool.cpp
@@ -119,10 +119,11 @@ ACE_MMAP_Memory_Pool::ACE_MMAP_Memory_Pool (
: base_addr_ (0),
use_fixed_addr_(0),
flags_ (MAP_SHARED),
- write_each_page_ (0),
+ write_each_page_ (false),
minimum_bytes_ (0),
sa_ (0),
- file_mode_ (ACE_DEFAULT_FILE_PERMS)
+ file_mode_ (ACE_DEFAULT_FILE_PERMS),
+ install_signal_handler_ (true)
{
ACE_TRACE ("ACE_MMAP_Memory_Pool::ACE_MMAP_Memory_Pool");
@@ -156,6 +157,7 @@ ACE_MMAP_Memory_Pool::ACE_MMAP_Memory_Pool (
if (options->sa_ != 0)
this->sa_ = options->sa_;
this->file_mode_ = options->file_mode_;
+ this->install_signal_handler_ = options->install_signal_handler_;
}
if (backing_store_name == 0)
@@ -192,9 +194,12 @@ ACE_MMAP_Memory_Pool::ACE_MMAP_Memory_Pool (
(sizeof this->backing_store_name_ / sizeof (ACE_TCHAR)));
#if !defined (ACE_WIN32)
- if (this->signal_handler_.register_handler (SIGSEGV, this) == -1)
- ACE_ERROR ((LM_ERROR,
- "%p\n", this->backing_store_name_));
+ if (this->install_signal_handler_)
+ {
+ if (this->signal_handler_.register_handler (SIGSEGV, this) == -1)
+ ACE_ERROR ((LM_ERROR,
+ "%p\n", this->backing_store_name_));
+ }
#endif /* ACE_WIN32 */
}
@@ -438,13 +443,14 @@ ACE_MMAP_Memory_Pool::remap (void *addr)
ACE_MMAP_Memory_Pool_Options::ACE_MMAP_Memory_Pool_Options (
const void *base_addr,
int use_fixed_addr,
- int write_each_page,
+ bool write_each_page,
size_t minimum_bytes,
u_int flags,
- int guess_on_fault,
+ bool guess_on_fault,
LPSECURITY_ATTRIBUTES sa,
mode_t file_mode,
- bool unique)
+ bool unique,
+ bool install_signal_handler)
: base_addr_ (base_addr),
use_fixed_addr_ (use_fixed_addr),
write_each_page_ (write_each_page),
@@ -453,7 +459,8 @@ ACE_MMAP_Memory_Pool_Options::ACE_MMAP_Memory_Pool_Options (
guess_on_fault_ (guess_on_fault),
sa_ (sa),
file_mode_ (file_mode),
- unique_ (unique)
+ unique_ (unique),
+ install_signal_handler_ (install_signal_handler)
{
ACE_TRACE ("ACE_MMAP_Memory_Pool_Options::ACE_MMAP_Memory_Pool_Options");
// for backwards compatability
@@ -471,6 +478,7 @@ ACE_MMAP_Memory_Pool_Options::ACE_MMAP_Memory_Pool_Options (
// update the mapping accordingly. When the signal handler returns,
// the instruction should be restarted and the operation should work.
+#if !defined (ACE_WIN32)
int
ACE_MMAP_Memory_Pool::handle_signal (int signum, siginfo_t *siginfo, ucontext_t *)
{
@@ -526,6 +534,7 @@ ACE_MMAP_Memory_Pool::handle_signal (int signum, siginfo_t *siginfo, ucontext_t
else
return -1;
}
+#endif
void *
ACE_MMAP_Memory_Pool::base_addr (void) const
diff --git a/ACE/ace/MMAP_Memory_Pool.h b/ACE/ace/MMAP_Memory_Pool.h
index ede22814183..912b86c5ba1 100644
--- a/ACE/ace/MMAP_Memory_Pool.h
+++ b/ACE/ace/MMAP_Memory_Pool.h
@@ -63,16 +63,17 @@ public:
NEVER_FIXED = 2
};
- // = Initialization method.
+ /// Constructor
ACE_MMAP_Memory_Pool_Options (const void *base_addr = ACE_DEFAULT_BASE_ADDR,
int use_fixed_addr = ALWAYS_FIXED,
- int write_each_page = 1,
+ bool write_each_page = true,
size_t minimum_bytes = 0,
u_int flags = 0,
- int guess_on_fault = 1,
+ bool guess_on_fault = true,
LPSECURITY_ATTRIBUTES sa = 0,
mode_t file_mode = ACE_DEFAULT_FILE_PERMS,
- bool unique_ = false);
+ bool unique_ = false,
+ bool install_signal_handler = true);
/// Base address of the memory-mapped backing store.
const void *base_addr_;
@@ -93,7 +94,7 @@ public:
/// Should each page be written eagerly to avoid surprises later
/// on?
- int write_each_page_;
+ bool write_each_page_;
/// What the minimim bytes of the initial segment should be.
size_t minimum_bytes_;
@@ -117,6 +118,9 @@ public:
/// Do we want an unique backing store name?
bool unique_;
+ /// Should we install a signal handler
+ bool install_signal_handler_;
+
private:
// Prevent copying
ACE_MMAP_Memory_Pool_Options (const ACE_MMAP_Memory_Pool_Options &);
@@ -238,12 +242,16 @@ protected:
/// Memory map the file up to @a map_size bytes.
virtual int map_file (size_t map_size);
+#if !defined (ACE_WIN32)
/// Handle SIGSEGV and SIGBUS signals to remap shared memory
/// properly.
virtual int handle_signal (int signum, siginfo_t *, ucontext_t *);
+#endif
+#if !defined (ACE_WIN32)
/// Handles SIGSEGV.
ACE_Sig_Handler signal_handler_;
+#endif
/// Memory-mapping object.
ACE_Mem_Map mmap_;
@@ -263,7 +271,7 @@ protected:
/// Should we write a byte to each page to forceably allocate memory
/// for this backing store?
- int write_each_page_;
+ bool write_each_page_;
/// What the minimum bytes of the initial segment should be.
size_t minimum_bytes_;
@@ -283,6 +291,9 @@ protected:
/// Protection mode for mmaped file.
mode_t file_mode_;
+
+ /// Should we install a signal handler
+ bool install_signal_handler_;
};
/**
diff --git a/ACE/ace/Naming_Context.cpp b/ACE/ace/Naming_Context.cpp
index 71602de6b44..b50af0285f8 100644
--- a/ACE/ace/Naming_Context.cpp
+++ b/ACE/ace/Naming_Context.cpp
@@ -85,27 +85,29 @@ ACE_Naming_Context::open (Context_Scope_Type scope_in, int lite)
-1);
#endif /* ACE_WIN32 && ACE_USES_WCHAR */
if (!this->name_options_->use_registry ())
- if (scope_in == ACE_Naming_Context::NET_LOCAL && this->local () == 0)
- {
- // Use NET_LOCAL name space, set up connection with remote server.
- ACE_NEW_RETURN (this->name_space_,
- ACE_Remote_Name_Space (this->netnameserver_host_,
- (u_short) this->netnameserver_port_),
- -1);
- }
- else // Use NODE_LOCAL or PROC_LOCAL name space.
- {
- if (lite)
- ACE_NEW_RETURN (this->name_space_,
- LITE_LOCAL_NAME_SPACE (scope_in,
- this->name_options_),
- -1);
- else
+ {
+ if (scope_in == ACE_Naming_Context::NET_LOCAL && this->local () == 0)
+ {
+ // Use NET_LOCAL name space, set up connection with remote server.
ACE_NEW_RETURN (this->name_space_,
- LOCAL_NAME_SPACE (scope_in,
- this->name_options_),
+ ACE_Remote_Name_Space (this->netnameserver_host_,
+ (u_short) this->netnameserver_port_),
-1);
- }
+ }
+ else // Use NODE_LOCAL or PROC_LOCAL name space.
+ {
+ if (lite)
+ ACE_NEW_RETURN (this->name_space_,
+ LITE_LOCAL_NAME_SPACE (scope_in,
+ this->name_options_),
+ -1);
+ else
+ ACE_NEW_RETURN (this->name_space_,
+ LOCAL_NAME_SPACE (scope_in,
+ this->name_options_),
+ -1);
+ }
+ }
if (ACE_LOG_MSG->op_status () != 0 || this->name_space_ == 0)
ACE_ERROR_RETURN ((LM_ERROR,
diff --git a/ACE/ace/OS_NS_errno.h b/ACE/ace/OS_NS_errno.h
index 85e85735b2c..5dcb0f3aa59 100644
--- a/ACE/ace/OS_NS_errno.h
+++ b/ACE/ace/OS_NS_errno.h
@@ -41,7 +41,7 @@ namespace ACE_OS {
int last_error (void);
ACE_NAMESPACE_INLINE_FUNCTION
- void last_error (int);
+ void last_error (int error);
ACE_NAMESPACE_INLINE_FUNCTION
int set_errno_to_last_error (void);
diff --git a/ACE/ace/Select_Reactor_T.cpp b/ACE/ace/Select_Reactor_T.cpp
index 0d94dffdba3..efdf2cec04d 100644
--- a/ACE/ace/Select_Reactor_T.cpp
+++ b/ACE/ace/Select_Reactor_T.cpp
@@ -241,7 +241,9 @@ ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::suspend_handlers (void)
for (ACE_Select_Reactor_Handler_Repository_Iterator iter (&this->handler_rep_);
iter.next (eh) != 0;
iter.advance ())
- this->suspend_i (eh->get_handle ());
+ {
+ this->suspend_i (eh->get_handle ());
+ }
return 0;
}
@@ -257,7 +259,9 @@ ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::resume_handlers (void)
for (ACE_Select_Reactor_Handler_Repository_Iterator iter (&this->handler_rep_);
iter.next (eh) != 0;
iter.advance ())
- this->resume_i (eh->get_handle ());
+ {
+ this->resume_i (eh->get_handle ());
+ }
return 0;
}
diff --git a/ACE/ace/Service_Config.h b/ACE/ace/Service_Config.h
index 1ecfce042f8..5a1a74be512 100644
--- a/ACE/ace/Service_Config.h
+++ b/ACE/ace/Service_Config.h
@@ -142,7 +142,7 @@ public:
* parent thread's gestalt. Designed to be used as an instance member
* of @c ACE_Service_Config
*/
-class ACE_Threading_Helper
+class ACE_Export ACE_Threading_Helper
{
public:
ACE_Threading_Helper ();
diff --git a/ACE/ace/Service_Gestalt.cpp b/ACE/ace/Service_Gestalt.cpp
index 4d73afc6fc5..e1643c2d255 100644
--- a/ACE/ace/Service_Gestalt.cpp
+++ b/ACE/ace/Service_Gestalt.cpp
@@ -544,8 +544,8 @@ ACE_Service_Gestalt::initialize (const ACE_Service_Type_Factory *stf,
#ifndef ACE_NLOGGING
if (ACE::debug ())
ACE_DEBUG ((LM_WARNING,
- ACE_LIB_TEXT ("ACE (%P|%t) SG::initialize - repo=%@,")
- ACE_LIB_TEXT (" name=%s - removing a pre-existing namesake.\n"),
+ ACE_TEXT ("ACE (%P|%t) SG::initialize - repo=%@,")
+ ACE_TEXT (" name=%s - removing a pre-existing namesake.\n"),
this->repo_,
stf->name ()));
#endif
@@ -632,8 +632,8 @@ ACE_Service_Gestalt::initialize (const ACE_Service_Type *sr,
{
#ifndef ACE_NLOGGING
ACE_DEBUG ((LM_WARNING,
- ACE_LIB_TEXT ("ACE (%P|%t) SG::initialize - repo=%@, name=%s")
- ACE_LIB_TEXT (" - removing a pre-existing namesake.\n"),
+ ACE_TEXT ("ACE (%P|%t) SG::initialize - repo=%@, name=%s")
+ ACE_TEXT (" - removing a pre-existing namesake.\n"),
this->repo_,
sr->name ()));
#endif
diff --git a/ACE/ace/Svc_Conf.y b/ACE/ace/Svc_Conf.y
index 72f9d1d9860..beca982ed4c 100644
--- a/ACE/ace/Svc_Conf.y
+++ b/ACE/ace/Svc_Conf.y
@@ -291,12 +291,6 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL
// messages.
void
-yyerror (char const * s)
-{
- yyerror (-1, -1, s);
-}
-
-void
yyerror (int yyerrno, int yylineno, char const * s)
{
#if defined (ACE_NLOGGING)
@@ -306,10 +300,16 @@ yyerror (int yyerrno, int yylineno, char const * s)
#endif /* ACE_NLOGGING */
ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("ACE (%P|%t) [error %d] on line %d: %s\n"),
+ ACE_TEXT ("ACE (%P|%t) [error %d] on line %d: %C\n"),
yyerrno,
yylineno,
- ACE_TEXT_CHAR_TO_TCHAR (s)));
+ s));
+}
+
+void
+yyerror (char const * s)
+{
+ yyerror (-1, -1, s);
}
// Note that SRC_REC represents left context, which is the STREAM *
diff --git a/ACE/ace/Svc_Conf_y.cpp b/ACE/ace/Svc_Conf_y.cpp
index e99941fead9..e1c172bcfca 100644
--- a/ACE/ace/Svc_Conf_y.cpp
+++ b/ACE/ace/Svc_Conf_y.cpp
@@ -937,8 +937,8 @@ ace_yystpcpy (ace_yydest, ace_yysrc)
heuristic is that double-quoting is unnecessary unless the string
contains an apostrophe, a comma, or backslash (other than
backslash-backslash). ACE_YYSTR is taken from ace_yytname. If ACE_YYRES is
- null, do not copy; instead, return the length of what the result
- would have been. */
+ null, do not copy; instead, return the length of what the result would
+ have been. */
static ACE_YYSIZE_T
ace_yytnamerr (ACE_TCHAR *ace_yyres, const char *ace_yystr)
{
@@ -1913,12 +1913,6 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL
// messages.
void
-ace_yyerror (ACE_TCHAR const * s)
-{
- ace_yyerror (-1, -1, s);
-}
-
-void
ace_yyerror (int ace_yyerrno, int ace_yylineno, char const * s)
{
#if defined (ACE_NLOGGING)
@@ -1928,10 +1922,16 @@ ace_yyerror (int ace_yyerrno, int ace_yylineno, char const * s)
#endif /* ACE_NLOGGING */
ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("ACE (%P|%t) [error %d] on line %d: %s\n"),
+ ACE_TEXT ("ACE (%P|%t) [error %d] on line %d: %C\n"),
ace_yyerrno,
ace_yylineno,
- ACE_TEXT_CHAR_TO_TCHAR (s)));
+ s));
+}
+
+void
+ace_yyerror (char const * s)
+{
+ ace_yyerror (-1, -1, s);
}
// Note that SRC_REC represents left context, which is the STREAM *
diff --git a/ACE/bin/MakeProjectCreator/modules/VXTestProjectCreator.pm b/ACE/bin/MakeProjectCreator/modules/VXTestProjectCreator.pm
index 43e9fccfcbb..585021006a9 100644
--- a/ACE/bin/MakeProjectCreator/modules/VXTestProjectCreator.pm
+++ b/ACE/bin/MakeProjectCreator/modules/VXTestProjectCreator.pm
@@ -37,4 +37,20 @@ sub get_template {
return 'vxtest';
}
+sub need_to_write_project {
+ my $self = shift;
+
+ ## We only want to return 1 if the project has source files and isn't a
+ ## custom-only project. We have to check for custom_only because
+ ## non-custom related project settings are only removed after calling
+ ## need_to_write_project().
+ if (!$self->get_assignment('custom_only') &&
+ $self->SUPER::need_to_write_project() == 1) {
+ ## We only want to return 1 if this is an executable project
+ return 1 if ($self->exe_target());
+ }
+
+ return 0;
+}
+
1;
diff --git a/ACE/bin/MakeProjectCreator/modules/VXTestWorkspaceCreator.pm b/ACE/bin/MakeProjectCreator/modules/VXTestWorkspaceCreator.pm
index cc250e56558..6421ae3858f 100644
--- a/ACE/bin/MakeProjectCreator/modules/VXTestWorkspaceCreator.pm
+++ b/ACE/bin/MakeProjectCreator/modules/VXTestWorkspaceCreator.pm
@@ -16,7 +16,7 @@ use VXTestProjectCreator;
use WorkspaceCreator;
use vars qw(@ISA);
-@ISA = qw(WorkspaceBase WorkspaceCreator);
+@ISA = qw(WorkspaceCreator);
# ************************************************************
# Subroutine Section
diff --git a/ACE/tests/Bug_2980_Regression_Test.cpp b/ACE/tests/Bug_2980_Regression_Test.cpp
index 0cc4f5934a8..400452d4096 100644
--- a/ACE/tests/Bug_2980_Regression_Test.cpp
+++ b/ACE/tests/Bug_2980_Regression_Test.cpp
@@ -8,7 +8,7 @@
// platform-specific ones. Luckily, it is only Windows where this
// test has not been made to work yet ...
-#if !(defined (WIN32) || defined (VXWORKS))
+#if !(defined (WIN32) || defined (ACE_VXWORKS))
#include <dlfcn.h>
#include <pthread.h>
@@ -85,12 +85,12 @@ void * loadunloadDll(void *pp)
return 0;
}
-#endif /* !(defined (WIN32) || defined (VXWORKS)) */
+#endif /* !(defined (WIN32) || defined (ACE_VXWORKS)) */
int main(int, char **)
{
-#if (defined (WIN32) || defined (VXWORKS))
+#if (defined (WIN32) || defined (ACE_VXWORKS))
printf ("Terminating because this test has not been designed "
"to run on platforms where WIN32 has been defined.\n");
@@ -132,7 +132,7 @@ int main(int, char **)
printf ("main - leaving\n");
-#endif /* (defined (WIN32) || defined (VXWORKS)) */
+#endif /* (defined (WIN32) || defined (ACE_VXWORKS)) */
return 0;
}