summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Mitz <mitza@objectcomputing.com>2021-01-21 08:32:19 -0600
committerAdam Mitz <mitza@objectcomputing.com>2021-01-21 08:32:19 -0600
commit447b84385531427c1ec1a7aa8298e9bb5a846c0d (patch)
treee1a083a9aec61247c877e709de859a1c4817a26d
parent061ef9ed8535b6b2ac387e056deb1c71fc45988f (diff)
downloadATCD-447b84385531427c1ec1a7aa8298e9bb5a846c0d.tar.gz
tao_idl: when invoking preproc don't add quotes to args that already have them
-rw-r--r--TAO/TAO_IDL/driver/drv_preproc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/driver/drv_preproc.cpp b/TAO/TAO_IDL/driver/drv_preproc.cpp
index f23ea5c2d7d..9132a3b2364 100644
--- a/TAO/TAO_IDL/driver/drv_preproc.cpp
+++ b/TAO/TAO_IDL/driver/drv_preproc.cpp
@@ -138,7 +138,7 @@ DRV_cpp_putarg (const char *str)
throw Bailout ();
}
- if (str && ACE_OS::strchr (str, ' '))
+ if (str && ACE_OS::strchr (str, ' ') && !ACE_OS::strchr (str, '"'))
{
ACE_TCHAR *buf = 0;
ACE_NEW_NORETURN (buf, ACE_TCHAR[ACE_OS::strlen (str) + 3]);