Removed Makedepend for osg repository. No Makedepends should be in the

repository
This commit is contained in:
Don BURNS
2001-01-12 17:34:58 +00:00
parent 7165d693d6
commit fed86f3f03
2 changed files with 5 additions and 2188 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -62,34 +62,14 @@ void osg::Init( void )
void osg::SetFilePath( const char *_path )
{
char buff[1024];
notify(DEBUG) << "In osg::SetFilePath("<<s_filePath<<")"<<endl;
notify(DEBUG) << "In osg::SetFilePath("<<_path<<")"<<endl;
if( s_filePath != s_default_file_path )
delete s_filePath;
buff[0] = 0;
s_filePath = strdup( _path );
/* notify(DEBUG) << "filePath " << s_filePath << endl;
notify(DEBUG) << "defPath " << s_default_file_path << endl;
notify(DEBUG) << "&filePath " << &s_filePath << endl;
notify(DEBUG) << "&defPath " << &s_default_file_path << endl;
*/
if( s_filePath != s_default_file_path )
{
strcpy( buff, s_filePath );
// delete s_filePath;
}
// if (strcmp(s_filePath, s_default_file_path) != 0)
// {
// strcpy( buff, s_filePath );
// delete s_filePath;
// }
strcat( buff, PathDelimitor );
strcat( buff, _path );
s_filePath = strdup( buff );
notify(DEBUG) << "Out osg::SetFilePath("<<_path<<")"<<endl;
notify(DEBUG) << "Out osg::SetFilePath("<<s_filePath<<")"<<endl;
}