forked from pool/boost
This commit is contained in:
committed by
Git OBS Bridge
parent
bcc0fd3890
commit
fc05f47b44
11
boost-no_segfault_on_dir_iteration.patch
Normal file
11
boost-no_segfault_on_dir_iteration.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- libs/filesystem/src/operations.cpp
|
||||
+++ libs/filesystem/src/operations.cpp
|
||||
@@ -1209,7 +1209,7 @@
|
||||
const std::string & dir, std::string & target,
|
||||
file_status &, file_status & )
|
||||
{
|
||||
- static const std::string dummy_first_name( "." );
|
||||
+ const std::string dummy_first_name( "." );
|
||||
if ( (handle = ::opendir( dir.c_str() )) == 0 ) return errno;
|
||||
target = dummy_first_name;
|
||||
std::size_t path_size;
|
||||
Reference in New Issue
Block a user