FreeBSD Bugzilla – Attachment 195277 Details for
Bug 229888
devel/boost-libs: Fix undefined behavior in boost::filesystem::copy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix to boost::filesystem::copy
boost_libs_filesystem.diff (text/plain), 1.83 KB, created by
Michael Gmelin
on 2018-07-19 15:07:26 UTC
(
hide
)
Description:
Fix to boost::filesystem::copy
Filename:
MIME Type:
Creator:
Michael Gmelin
Created:
2018-07-19 15:07:26 UTC
Size:
1.83 KB
patch
obsolete
>Index: devel/boost-libs/Makefile >=================================================================== >--- devel/boost-libs/Makefile (revision 474962) >+++ devel/boost-libs/Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= boost-libs >-PORTREVISION= 2 >+PORTREVISION= 3 > > COMMENT= Free portable C++ libraries (without Boost.Python) > >Index: devel/boost-libs/files/patch-libs_filesystem_src_operations.cpp >=================================================================== >--- devel/boost-libs/files/patch-libs_filesystem_src_operations.cpp (nonexistent) >+++ devel/boost-libs/files/patch-libs_filesystem_src_operations.cpp (working copy) >@@ -0,0 +1,27 @@ >+--- libs/filesystem/src/operations.cpp.orig >++++ libs/filesystem/src/operations.cpp >+@@ -890,20 +890,20 @@ namespace detail >+ BOOST_FILESYSTEM_DECL >+ void copy(const path& from, const path& to, system::error_code* ec) >+ { >+- file_status s(symlink_status(from, *ec)); >++ file_status s(detail::symlink_status(from, ec)); >+ if (ec != 0 && *ec) return; >+ >+ if(is_symlink(s)) >+ { >+- copy_symlink(from, to, *ec); >++ detail::copy_symlink(from, to, ec); >+ } >+ else if(is_directory(s)) >+ { >+- copy_directory(from, to, *ec); >++ detail::copy_directory(from, to, ec); >+ } >+ else if(is_regular_file(s)) >+ { >+- copy_file(from, to, fs::copy_option::fail_if_exists, *ec); >++ detail::copy_file(from, to, detail::fail_if_exists, ec); >+ } >+ else >+ { > >Property changes on: devel/boost-libs/files/patch-libs_filesystem_src_operations.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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
Flags:
jbeich
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 229888
: 195277