summaryrefslogtreecommitdiff
path: root/ace/Local_Name_Space_T.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-13 22:30:13 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-13 22:30:13 +0000
commitc175ee2f2a33d511c55c00e8459690cfcf87b764 (patch)
tree429032cb2cd4bbebb73c11cd970274579ee1397c /ace/Local_Name_Space_T.cpp
parent6884d0dc992c4bde5b048b8b9478736769fd77eb (diff)
downloadATCD-c175ee2f2a33d511c55c00e8459690cfcf87b764.tar.gz
foo
Diffstat (limited to 'ace/Local_Name_Space_T.cpp')
-rw-r--r--ace/Local_Name_Space_T.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Local_Name_Space_T.cpp b/ace/Local_Name_Space_T.cpp
index 4b59366d28b..d89cf054b81 100644
--- a/ace/Local_Name_Space_T.cpp
+++ b/ace/Local_Name_Space_T.cpp
@@ -526,7 +526,7 @@ ACE_Local_Name_Space<ACE_MEM_POOL_2, LOCK>::list_types (ACE_PWSTRING_SET &set,
// Compile the regular expression (the 0's cause ACE_OS::compile to allocate space).
#if defined (ACE_HAS_REGEX)
compiled_regexp = ACE_OS::compile (pattern_rep, 0, 0);
-#else // If we don't have regular expressions just use the pattern directly.
+#else /* If we don't have regular expressions just use the pattern directly. */
compiled_regexp = pattern_rep;
#endif /* ACE_HAS_REGEX */
@@ -542,7 +542,7 @@ ACE_Local_Name_Space<ACE_MEM_POOL_2, LOCK>::list_types (ACE_PWSTRING_SET &set,
if (ACE_OS::strcmp ("", pattern_rep) == 0 // Everything matches the wildcard.
#if defined (ACE_HAS_REGEX)
|| ACE_OS::step (type, compiled_regexp) != 0)
-#else // If we don't have regular expressions just use strstr() for substring matching.
+#else /* If we don't have regular expressions just use strstr() for substring matching. */
|| ACE_OS::strstr (type, compiled_regexp) != 0)
#endif /* ACE_HAS_REGEX */
@@ -642,7 +642,7 @@ ACE_Local_Name_Space<ACE_MEM_POOL_2, LOCK>::list_type_entries (ACE_BINDING_SET &
// Compile the regular expression (the 0's cause ACE_OS::compile to allocate space).
#if defined (ACE_HAS_REGEX)
compiled_regexp = ACE_OS::compile (pattern_rep, 0, 0);
-#else // If we don't have regular expressions just the pattern directly.
+#else /* If we don't have regular expressions just the pattern directly. */
compiled_regexp = pattern_rep;
#endif /* ACE_HAS_REGEX */
@@ -656,7 +656,7 @@ ACE_Local_Name_Space<ACE_MEM_POOL_2, LOCK>::list_type_entries (ACE_BINDING_SET &
if (ACE_OS::strcmp ("", pattern_rep) == 0 // Everything matches the wildcard.
#if defined (ACE_HAS_REGEX)
|| ACE_OS::step (type, compiled_regexp) != 0)
-#else // If we don't have regular expressions just use strstr() for substring matching.
+#else /* If we don't have regular expressions just use strstr() for substring matching. */
|| ACE_OS::strstr (type, compiled_regexp) != 0)
#endif /* ACE_HAS_REGEX */
{