summaryrefslogtreecommitdiff
path: root/ACE/tests/Dirent_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-05-22 16:11:04 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-05-22 16:11:04 +0000
commit5f695a105a7b0fcb77673551a19ad8aca3a181f8 (patch)
tree14d6fe846bbb9b60c4b22ce2c18de87323b1ede2 /ACE/tests/Dirent_Test.cpp
parentb01a497051e6da2e28729f4f199e9999562b34dc (diff)
downloadATCD-5f695a105a7b0fcb77673551a19ad8aca3a181f8.tar.gz
Fri May 22 16:10:05 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/ACE_Init_Test.cpp: Improved message * tests/Dirent_Test.cpp: Initialise pointer to 0 * tests/SOCK_Connector_Test.cpp: Print errno to get some more feedback why this fails on WinCE
Diffstat (limited to 'ACE/tests/Dirent_Test.cpp')
-rw-r--r--ACE/tests/Dirent_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/tests/Dirent_Test.cpp b/ACE/tests/Dirent_Test.cpp
index 5804d14d77d..4e6d871f34f 100644
--- a/ACE/tests/Dirent_Test.cpp
+++ b/ACE/tests/Dirent_Test.cpp
@@ -180,7 +180,7 @@ dirent_test (void)
ACE_ERROR_RETURN
((LM_ERROR, ACE_TEXT ("open of dir %s failed\n"), TestDir.c_str()), -1);
- for (ACE_DIRENT *directory;
+ for (ACE_DIRENT *directory = 0;
(directory = dir.read ()) != 0;
entrycount++)
{