summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-21 02:32:56 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-21 02:32:56 +0000
commit50da0fbe85a5dce2df3d2dff1d9f607e488435ae (patch)
tree8911e3dfb21df477056ae669059ae3ff3de55c40
parent6f2d941d574c2a9e5583d412adbfb2882501ac8a (diff)
downloadATCD-50da0fbe85a5dce2df3d2dff1d9f607e488435ae.tar.gz
ChangeLogTag:Tue Jan 20 20:31:27 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
-rw-r--r--ChangeLog-98a7
-rw-r--r--tests/test_config.h6
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog-98a b/ChangeLog-98a
index 0dff4c994dd..861ea253553 100644
--- a/ChangeLog-98a
+++ b/ChangeLog-98a
@@ -1,3 +1,10 @@
+Tue Jan 20 20:31:27 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
+
+ * tests/test_config.h:
+ Changed several buffer sizes from BUFSIZ to MAXPATHLEN, they
+ were used for storing pathnames, so the later is a proper size
+ for them.
+
Tue Jan 20 15:54:44 1998 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Timer_Heap_T.cpp: Fixed a bug that was introduced on
diff --git a/tests/test_config.h b/tests/test_config.h
index ef75c7f7749..a1988fec7b9 100644
--- a/tests/test_config.h
+++ b/tests/test_config.h
@@ -120,7 +120,7 @@ typedef size_t KEY;
// This is the only way I could figure out to avoid an error
// about attempting to unlink a non-existant file.
#define ACE_INIT_LOG(NAME) \
- char temp[BUFSIZ]; \
+ char temp[MAXPATHLEN]; \
ACE_OS::sprintf (temp, "%s%s%s", \
ACE_LOG_DIRECTORY_A, \
ACE::basename (NAME, ACE_DIRECTORY_SEPARATOR_CHAR_A), \
@@ -135,7 +135,7 @@ typedef size_t KEY;
}
#else /* ! VXWORKS */
#define ACE_INIT_LOG(NAME) \
- char temp[BUFSIZ]; \
+ char temp[MAXPATHLEN]; \
ACE_OS::sprintf (temp, "%s%s%s", \
ACE_LOG_DIRECTORY_A, \
ACE::basename (NAME, ACE_DIRECTORY_SEPARATOR_CHAR_A), \
@@ -182,7 +182,7 @@ ACE_Test_Output::~ACE_Test_Output (void)
int
ACE_Test_Output::set_output (const char *filename, int append)
{
- char temp[BUFSIZ];
+ char temp[MAXPATHLEN];
// Ignore the error value since the directory may already exist.
char *test_dir = ACE_OS::getenv ("ACE_TEST_DIR");