Changeset 8735

Show
Ignore:
Timestamp:
02/20/09 17:01:52 (4 years ago)
Author:
shereef
Message:

changes to DomainManager?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ossiedev/trunk/system/ossie/framework/ExecutableDevice_impl.cpp

    r8427 r8735  
    189189            execv(new_argv[0], new_argv); 
    190190        } else { 
    191 /* 
    192  * FIXME: THIS IS A HORRIBLE AND BAD HACK 
    193 */ 
    194          std::string tmp = argv[0]; 
    195          size_t found; 
    196          while( true ) 
    197          { 
    198           if( (found = tmp.find("/..")) == string::npos ) break; 
    199           tmp.erase(found, 3); 
    200          } 
    201          while( true ) 
    202          { 
    203           if( (found = tmp.find("/")) != 0 ) break; 
    204           tmp.erase(found, 1); 
    205          } 
    206          strcpy( argv[0], tmp.c_str()); 
    207 /* 
    208  * FIXME: THIS IS THE END OF A HORRIBLE AND BAD HACK 
    209 */ 
    210191            execv(argv[0], argv); 
    211192        }