From c435c7daa9df1b08dc85132fcd1c154bea9b69e2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 18:21:03 +0000 Subject: Fixes to use libbu++ Bu::String --- src/functiongetmakedeps.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/functiongetmakedeps.cpp') diff --git a/src/functiongetmakedeps.cpp b/src/functiongetmakedeps.cpp index cfe5459..fda6aa2 100644 --- a/src/functiongetmakedeps.cpp +++ b/src/functiongetmakedeps.cpp @@ -18,7 +18,7 @@ FunctionGetMakeDeps::~FunctionGetMakeDeps() { } -Bu::FString FunctionGetMakeDeps::getName() const +Bu::String FunctionGetMakeDeps::getName() const { return "getMakeDeps"; } @@ -30,7 +30,7 @@ Variable FunctionGetMakeDeps::call( Variable &/*input*/, VarList lParams ) lParams.first().getString().getStr(), NULL ); // Gather all data from the command. - Bu::FString sBuf; + Bu::String sBuf; do { char buf[4096]; @@ -43,7 +43,7 @@ Variable FunctionGetMakeDeps::call( Variable &/*input*/, VarList lParams ) Variable vRet( Variable::typeList ); - Bu::FString::iterator i, j; + Bu::String::iterator i, j; i = sBuf.find(':')+2; while( i ) { @@ -51,7 +51,7 @@ Variable FunctionGetMakeDeps::call( Variable &/*input*/, VarList lParams ) // always a space after a word for( j = i; j && *j != ' ' && *j != '\n' && *j != '\r'; j++ ) { } - Bu::FString sTmp( i, j ); + Bu::String sTmp( i, j ); vRet.append( sTmp ); // Find the begining of the next word, trickier, we don't want to go -- cgit v1.2.3