summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/driver
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-06 23:40:11 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-06 23:40:11 +0000
commit25ecd17c3cf808d78cc5bc06900a851e746dbde8 (patch)
treec55b76b55b3af6e14efb8fd14ea6116ef2b4b921 /TAO/TAO_IDL/driver
parent6a8ff763f89e4848ccfb0faf483a1598813620dc (diff)
downloadATCD-25ecd17c3cf808d78cc5bc06900a851e746dbde8.tar.gz
ChangeLogTag:Sun Jun 6 18:04:05 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/TAO_IDL/driver')
-rw-r--r--TAO/TAO_IDL/driver/drv_preproc.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/driver/drv_preproc.cpp b/TAO/TAO_IDL/driver/drv_preproc.cpp
index 91b21154758..8744bf9b1a4 100644
--- a/TAO/TAO_IDL/driver/drv_preproc.cpp
+++ b/TAO/TAO_IDL/driver/drv_preproc.cpp
@@ -75,6 +75,7 @@ trademarks or registered trademarks of Sun Microsystems, Inc.
#include "drv_link.h"
#include "ace/Process_Manager.h"
+#include "ace/SString.h"
#include "ace/Env_Value_T.h"
ACE_RCSID(driver, drv_preproc, "$Id$")
@@ -338,7 +339,8 @@ DRV_pre_proc(const char *myfile)
idl_global->set_read_from_stdin(I_FALSE);
idl_global->set_filename(myfile);
idl_global->set_main_filename(myfile);
- idl_global->set_stripped_filename(DRV_stripped_name(myfile));
+ ACE_Auto_String_Free tmp (ACE_OS::strdup (myfile));
+ idl_global->set_stripped_filename(tmp.get ());
idl_global->set_real_filename(tmp_ifile);
}