Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 163176 Details for
Bug 234902
dev-libs/boost-1.36.0 version bump request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
removes uses of deprecate boos::filesystem::leaf()
boost-1.36.0-deprecated-leaf.patch (text/plain), 4.49 KB, created by
Christoph Gysin
on 2008-08-18 06:28:49 UTC
(
hide
)
Description:
removes uses of deprecate boos::filesystem::leaf()
Filename:
MIME Type:
Creator:
Christoph Gysin
Created:
2008-08-18 06:28:49 UTC
Size:
4.49 KB
patch
obsolete
>--- tools/regression/src/library_status.cpp.orig 2008-08-17 21:48:53.000000000 +0200 >+++ tools/regression/src/library_status.cpp 2008-08-17 21:49:48.000000000 +0200 >@@ -130,7 +130,7 @@ > if(fs::is_directory(*itr)){ > std::pair<col_node::subcolumns_t::iterator, bool> result > = node.m_subcolumns.insert( >- std::make_pair(itr->leaf(), col_node()) >+ std::make_pair(itr->filename(), col_node()) > ); > build_node_tree(*itr, result.first->second); > } >@@ -629,7 +629,7 @@ > if(! fs::is_directory(*itr)) > continue; > >- string test_name = itr->leaf(); >+ string test_name = itr->filename(); > // strip off the ".test" is there is one > string::size_type s = test_name.find( ".test" ); > if(string::npos != s) >@@ -888,7 +888,7 @@ > if ( argc == 3 ) > { > fs::path links_path( argv[2], fs::native ); >- links_name = links_path.leaf(); >+ links_name = links_path.filename(); > links_file.open( links_path ); > if ( !links_file ) > { >--- tools/regression/src/compiler_status.cpp.orig 2007-11-15 17:31:06.000000000 +0100 >+++ tools/regression/src/compiler_status.cpp 2008-08-17 21:47:10.000000000 +0200 >@@ -191,11 +191,11 @@ > if ( !fs::exists( dir_path ) ) return false; > for ( fs::directory_iterator itr( dir_path ); itr != end_itr; ++itr ) > if ( fs::is_directory( *itr ) >- && itr->leaf() != ignore_dir_named ) >+ && itr->filename() != ignore_dir_named ) > { > if ( find_file( *itr, name, path_found ) ) return true; > } >- else if ( itr->leaf() == name ) >+ else if ( itr->filename() == name ) > { > path_found = *itr; > return true; >@@ -281,16 +281,16 @@ > // SunCC creates an internal subdirectory everywhere it writes > // object files. This confuses the target_directory() algorithm. > // This patch ignores the SunCC internal directory. Jens Maurer >- if ( (*itr).leaf() == "SunWS_cache" ) continue; >+ if ( (*itr).filename() == "SunWS_cache" ) continue; > // SGI does something similar for template instantiations. Jens Maurer >- if( (*itr).leaf() == "ii_files" ) continue; >+ if( (*itr).filename() == "ii_files" ) continue; > > if ( child.empty() ) child = *itr; > else > { > std::cout << "Warning: only first of two target possibilities will be reported for: \n " >- << root.string() << ": " << child.leaf() >- << " and " << (*itr).leaf() << "\n"; >+ << root.string() << ": " << child.filename() >+ << " and " << (*itr).filename() << "\n"; > } > } > } >@@ -726,7 +726,7 @@ > { > results.push_back( std::string() ); > do_row( *itr, >- itr->leaf().substr( 0, itr->leaf().size()-5 ), >+ itr->filename().substr( 0, itr->filename().size()-5 ), > results[results.size()-1] ); > } > } >@@ -812,15 +812,15 @@ > for (; compiler_itr != end_itr; ++compiler_itr ) > { > if ( fs::is_directory( *compiler_itr ) // check just to be sure >- && compiler_itr->leaf() != "test" ) // avoid strange directory (Jamfile bug?) >+ && compiler_itr->filename() != "test" ) // avoid strange directory (Jamfile bug?) > { > if ( specific_compiler.size() != 0 >- && specific_compiler != compiler_itr->leaf() ) continue; >- toolsets.push_back( compiler_itr->leaf() ); >- string desc( compiler_desc( compiler_itr->leaf() ) ); >- string vers( version_desc( compiler_itr->leaf() ) ); >+ && specific_compiler != compiler_itr->filename() ) continue; >+ toolsets.push_back( compiler_itr->filename() ); >+ string desc( compiler_desc( compiler_itr->filename() ) ); >+ string vers( version_desc( compiler_itr->filename() ) ); > report << "<td>" >- << (desc.size() ? desc : compiler_itr->leaf()) >+ << (desc.size() ? desc : compiler_itr->filename()) > << (vers.size() ? (string( "<br>" ) + vers ) : string( "" )) > << "</td>\n"; > error_count.push_back( 0 ); >@@ -943,7 +943,7 @@ > if ( argc == 4 ) > { > fs::path links_path( argv[3], fs::native ); >- links_name = links_path.leaf(); >+ links_name = links_path.filename(); > links_file.open( links_path ); > if ( !links_file ) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234902
:
163171
|
163172
|
163173
|
163174
|
163176
|
163287
|
163290
|
163468
|
163470
|
163474
|
166766
|
166768
|
170758
|
171027
|
171782
|
172174
|
174313
|
175472