summaryrefslogtreecommitdiff
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
commit2fd26bd38c117bb67b8f8d8ced89c768ee6e1e11 (patch)
treec55b76b55b3af6e14efb8fd14ea6116ef2b4b921
parent2a31cf5bbff0a47fbe7fb160803472752277a463 (diff)
downloadATCD-2fd26bd38c117bb67b8f8d8ced89c768ee6e1e11.tar.gz
ChangeLogTag:Sun Jun 6 18:04:05 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
-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);
}