summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-05-20 01:50:51 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-05-20 01:50:51 +0000
commit4dd380c097ad330985840b1e6ece311326af073d (patch)
tree4dc4e2ba53c0030e22038c4105d66aab52284278
parentee6b298b8d435a26df3715ad488c5afa67965ae9 (diff)
downloadATCD-4dd380c097ad330985840b1e6ece311326af073d.tar.gz
ChangeLogTag:Tue May 20 01:50:35 UTC 2003 Don Hinton <dhinton@dresystems.com>
-rw-r--r--ChangeLog32
-rw-r--r--ace/config-aix-4.x.h5
-rw-r--r--ace/config-cygwin32-common.h5
-rw-r--r--ace/config-freebsd.h5
-rw-r--r--ace/config-irix5.2.h5
-rw-r--r--ace/config-irix5.3-g++.h5
-rw-r--r--ace/config-irix5.3-sgic++.h5
-rw-r--r--ace/config-irix6.x-common.h5
-rw-r--r--ace/config-linux-common.h5
-rw-r--r--ace/config-lynxos.h5
-rw-r--r--ace/config-m88k.h5
-rw-r--r--ace/config-macosx.h5
-rw-r--r--ace/config-netbsd.h5
-rw-r--r--ace/config-openbsd.h5
-rw-r--r--ace/config-qnx-neutrino.h5
-rw-r--r--ace/config-qnx-rtp.h5
-rw-r--r--ace/config-sunos4-g++.h5
-rw-r--r--ace/config-sunos4-lucid3.2.h5
-rw-r--r--ace/config-sunos5.4-g++.h5
-rw-r--r--ace/config-sunos5.4-sunc++-4.x.h5
-rw-r--r--ace/config-sunos5.5.h5
-rw-r--r--ace/config-tandem.h5
-rw-r--r--ace/config-unixware-7.1.0.h5
-rw-r--r--ace/config-win32-msvc.h5
24 files changed, 124 insertions, 23 deletions
diff --git a/ChangeLog b/ChangeLog
index fc857233550..35964612b7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,35 @@
+Tue May 20 01:50:35 UTC 2003 Don Hinton <dhinton@dresystems.com>
+
+ * ace/config-aix-4.x.h:
+ * ace/config-cygwin32-common.h:
+ * ace/config-freebsd.h:
+ * ace/config-irix5.2.h:
+ * ace/config-irix5.3-g++.h:
+ * ace/config-irix5.3-sgic++.h:
+ * ace/config-irix6.x-common.h:
+ * ace/config-linux-common.h:
+ * ace/config-lynxos.h:
+ * ace/config-m88k.h:
+ * ace/config-macosx.h:
+ * ace/config-netbsd.h:
+ * ace/config-openbsd.h:
+ * ace/config-qnx-neutrino.h:
+ * ace/config-qnx-rtp.h:
+ * ace/config-sunos4-g++.h:
+ * ace/config-sunos4-lucid3.2.h:
+ * ace/config-sunos5.4-g++.h:
+ * ace/config-sunos5.4-sunc++-4.x.h:
+ * ace/config-sunos5.5.h:
+ * ace/config-tandem.h:
+ * ace/config-unixware-7.1.0.h:
+ * ace/config-win32-msvc.h:
+ Commented out ACE_HAS_ALLOCA. Even though these
+ compiler/platform combinations do have alloca(), it can be
+ dangerous. Users can uncomment it or define it in their own
+ config.h file if they want to use it. Please see ChangeLog
+ entry "Mon May 19 11:03:31 2003 Ossama Othman
+ <ossama@dre.vanderbilt.edu>" below for how to use it with autoconf.
+
Tue May 20 01:10:42 UTC 2003 Don Hinton <dhinton@dresystems.com>
* ace/DLL_Manager.cpp (get_handle):
diff --git a/ace/config-aix-4.x.h b/ace/config-aix-4.x.h
index c8ad970e6f7..eeb410d1493 100644
--- a/ace/config-aix-4.x.h
+++ b/ace/config-aix-4.x.h
@@ -26,7 +26,10 @@
//
// Compiler does this with a builtin - it's not in libc.
-# define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//# define ACE_HAS_ALLOCA
// Compiler supports the ssize_t typedef.
# define ACE_HAS_SSIZE_T
diff --git a/ace/config-cygwin32-common.h b/ace/config-cygwin32-common.h
index 15f27690e27..4a97edda82a 100644
--- a/ace/config-cygwin32-common.h
+++ b/ace/config-cygwin32-common.h
@@ -91,7 +91,10 @@
#define ACE_LACKS_GETPGID_PROTOTYPE
// Compiler/platform supports alloca().
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform has the getrusage() system call.
#define ACE_HAS_GETRUSAGE
diff --git a/ace/config-freebsd.h b/ace/config-freebsd.h
index e8c2fec976f..7d6a58889a9 100644
--- a/ace/config-freebsd.h
+++ b/ace/config-freebsd.h
@@ -125,7 +125,10 @@ extern "C" { char * cuserid (char *s); }
#define ACE_HAS_SVR4_SIGNAL_T
// Compiler/platform supports alloca().
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform supports SVR4 dynamic linking semantics..
#define ACE_HAS_SVR4_DYNAMIC_LINKING
diff --git a/ace/config-irix5.2.h b/ace/config-irix5.2.h
index 35098a8170c..609353d56a5 100644
--- a/ace/config-irix5.2.h
+++ b/ace/config-irix5.2.h
@@ -36,7 +36,10 @@
#define ACE_SIZEOF_LONG_DOUBLE 8
#define IRIX5
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform has <alloca.h>
#define ACE_HAS_ALLOCA_H
#define ACE_HAS_BSTRING
diff --git a/ace/config-irix5.3-g++.h b/ace/config-irix5.3-g++.h
index 554167e9ec3..3d82c0ef951 100644
--- a/ace/config-irix5.3-g++.h
+++ b/ace/config-irix5.3-g++.h
@@ -39,7 +39,10 @@
#define ACE_HAS_SYSCALL_H
// Compiler/platform supports alloca()
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform has <alloca.h>
#define ACE_HAS_ALLOCA_H
diff --git a/ace/config-irix5.3-sgic++.h b/ace/config-irix5.3-sgic++.h
index 269bab43bb6..97d7d2962b8 100644
--- a/ace/config-irix5.3-sgic++.h
+++ b/ace/config-irix5.3-sgic++.h
@@ -39,7 +39,10 @@
#define ACE_HAS_SYSCALL_H
// Compiler/platform supports alloca()
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform has <alloca.h>
#define ACE_HAS_ALLOCA_H
diff --git a/ace/config-irix6.x-common.h b/ace/config-irix6.x-common.h
index e1273d4f943..f4260bc3c06 100644
--- a/ace/config-irix6.x-common.h
+++ b/ace/config-irix6.x-common.h
@@ -63,7 +63,10 @@
#define ACE_HAS_SYSCALL_H
// Compiler/platform supports alloca()
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform has <alloca.h>
#define ACE_HAS_ALLOCA_H
diff --git a/ace/config-linux-common.h b/ace/config-linux-common.h
index 7ea071e6cd0..46890380077 100644
--- a/ace/config-linux-common.h
+++ b/ace/config-linux-common.h
@@ -209,7 +209,10 @@
#endif /* ! ACE_DEFAULT_BASE_ADDR */
// Compiler/platform supports alloca().
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform has <alloca.h>
#define ACE_HAS_ALLOCA_H
diff --git a/ace/config-lynxos.h b/ace/config-lynxos.h
index add5e985f23..85eb9278856 100644
--- a/ace/config-lynxos.h
+++ b/ace/config-lynxos.h
@@ -42,7 +42,10 @@
#if defined (__x86__)
// PowerPC libraries don't seem to have alloca (), so only use with x86.
-# define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//# define ACE_HAS_ALLOCA
# define ACE_HAS_ALLOCA_H
# define ACE_HAS_PENTIUM
#elif defined (__powerpc__)
diff --git a/ace/config-m88k.h b/ace/config-m88k.h
index 19f5f30886c..e9fa6da3286 100644
--- a/ace/config-m88k.h
+++ b/ace/config-m88k.h
@@ -112,7 +112,10 @@ struct ip_mreq
#define ACE_HAS_IP_MULTICAST
// Compiler/platform supports alloca()
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
#if !defined (m88k)
// Compiler/platform has <alloca.h>
diff --git a/ace/config-macosx.h b/ace/config-macosx.h
index 33d7c7779f8..26fe473a8e3 100644
--- a/ace/config-macosx.h
+++ b/ace/config-macosx.h
@@ -89,7 +89,10 @@
#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
// Compiler/platform supports alloca().
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform correctly calls init()/fini() for shared libraries.
#define ACE_HAS_AUTOMATIC_INIT_FINI
diff --git a/ace/config-netbsd.h b/ace/config-netbsd.h
index ab5eadae6e7..283637326cc 100644
--- a/ace/config-netbsd.h
+++ b/ace/config-netbsd.h
@@ -110,7 +110,10 @@ ange */
#define ACE_HAS_SVR4_SIGNAL_T
// Compiler/platform supports alloca().
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform supports SVR4 dynamic linking semantics..
#define ACE_HAS_SVR4_DYNAMIC_LINKING
diff --git a/ace/config-openbsd.h b/ace/config-openbsd.h
index f0edabffd19..af06690d6a9 100644
--- a/ace/config-openbsd.h
+++ b/ace/config-openbsd.h
@@ -110,7 +110,10 @@
#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
// Compiler/platform supports alloca().
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform supports SVR4 dynamic linking semantics..
#define ACE_HAS_SVR4_DYNAMIC_LINKING
diff --git a/ace/config-qnx-neutrino.h b/ace/config-qnx-neutrino.h
index 560e00f175a..78a0fecc63c 100644
--- a/ace/config-qnx-neutrino.h
+++ b/ace/config-qnx-neutrino.h
@@ -52,7 +52,10 @@
#define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R
#define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
#define ACE_HAS_ALLOCA_H
#define ACE_HAS_AUTOMATIC_INIT_FINI
#define ACE_HAS_CLOCK_GETTIME
diff --git a/ace/config-qnx-rtp.h b/ace/config-qnx-rtp.h
index 65e55ac13d1..9d8d855641f 100644
--- a/ace/config-qnx-rtp.h
+++ b/ace/config-qnx-rtp.h
@@ -59,7 +59,10 @@
#define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R
#define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
#define ACE_HAS_ALLOCA_H
#define ACE_HAS_AUTOMATIC_INIT_FINI
#define ACE_HAS_CLOCK_GETTIME
diff --git a/ace/config-sunos4-g++.h b/ace/config-sunos4-g++.h
index b1d5f485e00..baef8a6f8a6 100644
--- a/ace/config-sunos4-g++.h
+++ b/ace/config-sunos4-g++.h
@@ -92,7 +92,10 @@
#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 6))
#define ACE_HAS_SYSENT_H
#endif
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform has <alloca.h>
#define ACE_HAS_ALLOCA_H
#define ACE_HAS_SVR4_GETTIMEOFDAY
diff --git a/ace/config-sunos4-lucid3.2.h b/ace/config-sunos4-lucid3.2.h
index e0738e124a8..4ad0e536209 100644
--- a/ace/config-sunos4-lucid3.2.h
+++ b/ace/config-sunos4-lucid3.2.h
@@ -27,7 +27,10 @@
#define ACE_HAS_SYSCALL_H
// Compiler/platform supports alloca()
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform has <alloca.h>
#define ACE_HAS_ALLOCA_H
diff --git a/ace/config-sunos5.4-g++.h b/ace/config-sunos5.4-g++.h
index 3059e3c2aae..82c192dd6bc 100644
--- a/ace/config-sunos5.4-g++.h
+++ b/ace/config-sunos5.4-g++.h
@@ -65,7 +65,10 @@
#define ACE_HAS_IP_MULTICAST
// Compiler/platform supports alloca()
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform has <alloca.h>
#define ACE_HAS_ALLOCA_H
diff --git a/ace/config-sunos5.4-sunc++-4.x.h b/ace/config-sunos5.4-sunc++-4.x.h
index 7e09eb292f3..5782d626bdf 100644
--- a/ace/config-sunos5.4-sunc++-4.x.h
+++ b/ace/config-sunos5.4-sunc++-4.x.h
@@ -62,7 +62,10 @@
#define ACE_HAS_IP_MULTICAST
// Compiler/platform supports alloca()
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform has <alloca.h>
#define ACE_HAS_ALLOCA_H
diff --git a/ace/config-sunos5.5.h b/ace/config-sunos5.5.h
index a884f01dab8..55a7e368018 100644
--- a/ace/config-sunos5.5.h
+++ b/ace/config-sunos5.5.h
@@ -189,7 +189,10 @@
#define ACE_HAS_IP_MULTICAST
// Compiler/platform supports alloca()
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
// Compiler/platform has <alloca.h>
#define ACE_HAS_ALLOCA_H
diff --git a/ace/config-tandem.h b/ace/config-tandem.h
index 47777c9f53d..47bb1411137 100644
--- a/ace/config-tandem.h
+++ b/ace/config-tandem.h
@@ -73,7 +73,10 @@
//#define ACE_HAS_IP_MULTICAST
//Compiler/platform supports alloca()
-#define ACE_HAS_ALLOCA
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA
//Compiler/platform has <alloca.h>
#define ACE_HAS_ALLOCA_H
diff --git a/ace/config-unixware-7.1.0.h b/ace/config-unixware-7.1.0.h
index b5a228d1a81..a102aaff59d 100644
--- a/ace/config-unixware-7.1.0.h
+++ b/ace/config-unixware-7.1.0.h
@@ -83,7 +83,10 @@
#define ACE_HAS_P_READ_WRITE 1
/* Compiler/platform supports alloca() */
-#define ACE_HAS_ALLOCA 1
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA 1
/* Compiler/platform correctly calls init()/fini() for shared libraries */
#define ACE_HAS_AUTOMATIC_INIT_FINI 1
diff --git a/ace/config-win32-msvc.h b/ace/config-win32-msvc.h
index 3881662031f..d19566f2a4a 100644
--- a/ace/config-win32-msvc.h
+++ b/ace/config-win32-msvc.h
@@ -57,7 +57,10 @@
#endif
#include <malloc.h>
-#define ACE_HAS_ALLOCA 1
+// Although ACE does have alloca() on this compiler/platform combination, it is
+// disabled by default since it can be dangerous. Uncomment the following line
+// if you ACE to use it.
+//#define ACE_HAS_ALLOCA 1
#include "ace/post.h"
#endif /* ACE_CONFIG_WIN32_MSVC_H */