summaryrefslogtreecommitdiff
path: root/ACE/tests/IOStream_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-01-06 06:44:11 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-01-06 06:44:11 +0000
commit97d627cb72cbae4700c0433b2e89436621d2509a (patch)
tree0ff99bf42101dfbe9b0e6827cab59aebf1d8feac /ACE/tests/IOStream_Test.cpp
parent719f354ca8099a2a996b2aaa0983b7bb0bbd4f51 (diff)
downloadATCD-97d627cb72cbae4700c0433b2e89436621d2509a.tar.gz
Sun Jan 6 06:43:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/tests/IOStream_Test.cpp')
-rw-r--r--ACE/tests/IOStream_Test.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/ACE/tests/IOStream_Test.cpp b/ACE/tests/IOStream_Test.cpp
index efa6e8de7d2..ffb758975f4 100644
--- a/ACE/tests/IOStream_Test.cpp
+++ b/ACE/tests/IOStream_Test.cpp
@@ -29,7 +29,7 @@ ACE_RCSID (tests, IOStream_Test, "$Id$")
#if !defined (ACE_LACKS_ACE_IOSTREAM)
# include "ace/OS_NS_unistd.h"
-# include "ace/os_include/os_ctype.h" // Needed for isspace() function
+# include "ace/OS_NS_ctype.h" // Needed for isspace() function
typedef ACE_IOStream<ACE_SOCK_Stream> ACE_SOCK_IOStream;
@@ -108,19 +108,11 @@ operator>> (ACE_SOCK_IOStream & stream, qchar *buf)
// if we don't have a quote, append until we see space
if (c != '"')
for (*buf++ = c;
-#ifdef CHORUS
- stream.get (c) && !ACE_OS::ace_isspace (c);
-#else
(void *) stream.get (c) && !ACE_OS::ace_isspace (c);
-#endif /* CHORUS */
*buf++ = c)
continue;
else
-#ifdef CHORUS
- for (; stream.get (c) && c != '"'; *buf++ = c)
-#else
for (; (void *) stream.get (c) && c != '"'; *buf++ = c)
-#endif /* CHORUS */
if (c == '\\')
{
stream.get (c);