diff options
author | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-05-27 23:46:44 +0000 |
---|---|---|
committer | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-05-27 23:46:44 +0000 |
commit | 97e5ee6d6d9c65e8abff58542c3c6823855b1951 (patch) | |
tree | f2a730f2a6eb3bba4a1578b7110283ebd7609d42 /tests/Buffer_Stream_Test.cpp | |
parent | 32199480e9aed673e3c6781f01750852fc799760 (diff) | |
download | ATCD-97e5ee6d6d9c65e8abff58542c3c6823855b1951.tar.gz |
Changes for EBCIDIC compatibility.
Diffstat (limited to 'tests/Buffer_Stream_Test.cpp')
-rw-r--r-- | tests/Buffer_Stream_Test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Buffer_Stream_Test.cpp b/tests/Buffer_Stream_Test.cpp index 2ba15d15cc3..4444b1ed070 100644 --- a/tests/Buffer_Stream_Test.cpp +++ b/tests/Buffer_Stream_Test.cpp @@ -112,11 +112,11 @@ Producer::svc (void) ACE_NEW_THREAD; // Keep reading stdin, until we reach EOF. - for (char c = 'a'; c <= 'z'; c++) + for (char *c = ACE_ALPHABET; *c != '\0'; c++) { // Allocate a new message. char d[2]; - d[0] = c; + d[0] = *c; d[1] = '\0'; ACE_Message_Block *mb; @@ -152,7 +152,7 @@ Consumer::svc (void) ACE_Message_Block *mb = 0; int result = 0; - char c = 'a'; + char *c = ACE_ALPHABET; char *output; // Keep looping, reading a message out of the queue, until we @@ -171,7 +171,7 @@ Consumer::svc (void) if (length > 0) { output = mb->rd_ptr (); - ACE_ASSERT (c == output[0]); + ACE_ASSERT (*c == output[0]); c++; } mb->release (); |