diff options
author | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-07-17 04:06:30 +0000 |
---|---|---|
committer | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-07-17 04:06:30 +0000 |
commit | cb39ec159c448ee5ffd5f16c4c65c9478b211756 (patch) | |
tree | 0015d01b574c6f19150b8c3a9f40c4d040044ee6 /ACE/tests/Dirent_Test.cpp | |
parent | 9d8f7c5c3d16c46d49cde4da24bb052ca6064e87 (diff) | |
download | ATCD-cb39ec159c448ee5ffd5f16c4c65c9478b211756.tar.gz |
Tue Jul 17 04:03:24 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'ACE/tests/Dirent_Test.cpp')
-rw-r--r-- | ACE/tests/Dirent_Test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/tests/Dirent_Test.cpp b/ACE/tests/Dirent_Test.cpp index c564623aaef..71ac50538d1 100644 --- a/ACE/tests/Dirent_Test.cpp +++ b/ACE/tests/Dirent_Test.cpp @@ -163,7 +163,7 @@ dirent_count (const ACE_TCHAR *dir_path, # if (defined (ACE_VXWORKS) && (ACE_VXWORKS < 0x600)) // VxWorks only allows full paths (incl. device spec if applicable) to be specified ACE_TCHAR full_path[MAXPATHLEN]; - if (ACE_OS::getcwd (full_path, sizeof(full_path)) == NULL) + if (ACE_OS::getcwd (full_path, sizeof(full_path)) == 0) ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("getcwd: failed\n")), -1); |