Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 305015 Details for
Bug 406181
dev-libs/boost-1.49 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to remove unnecessary use of 'fchmodat()'.
boost-1.49.0-dont_use_fchmodat.patch (text/plain), 1.02 KB, created by
Duncan Exon Smith
on 2012-03-12 15:39:40 UTC
(
hide
)
Description:
Patch to remove unnecessary use of 'fchmodat()'.
Filename:
MIME Type:
Creator:
Duncan Exon Smith
Created:
2012-03-12 15:39:40 UTC
Size:
1.02 KB
patch
obsolete
>diff -r --unified boost_1_49_0/libs/filesystem/v3/src/operations.cpp boost_1_49_0/libs/filesystem/v3/src/operations.cpp >--- boost_1_49_0/libs/filesystem/v3/src/operations.cpp 2012-03-12 11:14:41.000000000 -0400 >+++ boost_1_49_0/libs/filesystem/v3/src/operations.cpp 2012-03-12 11:16:26.000000000 -0400 >@@ -1385,14 +1385,8 @@ > else if (prms & remove_perms) > prms = current_status.permissions() & ~prms; > >- // Mac OS X Lion and some other platforms don't support fchmodat() >-# if defined(AT_FDCWD) && defined(AT_SYMLINK_NOFOLLOW) \ >- && (!defined(__SUNPRO_CC) || __SUNPRO_CC > 0x5100) >- if (::fchmodat(AT_FDCWD, p.c_str(), mode_cast(prms), >- !(prms & symlink_perms) ? 0 : AT_SYMLINK_NOFOLLOW)) >-# else // fallback if fchmodat() not supported >- if (::chmod(p.c_str(), mode_cast(prms))) >-# endif >+ // Don't use fchmodat() since AT_SYMLINK_NOFOLLOW is not implemented on Linux >+ if (::chmod(p.c_str(), mode_cast(prms))) > { > if (ec == 0) > BOOST_FILESYSTEM_THROW(filesystem_error(
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 406181
:
304003
|
304005
| 305015 |
305019