Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6659: Filesystem compilation broken on Solaris 9 and 10
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-07 13:58:37
#6659: Filesystem compilation broken on Solaris 9 and 10
----------------------------------------------+-----------------------------
Reporter: Vasily Sukhanov <basil@â¦> | Owner: bemandawes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.49.0 | Severity: Regression
Resolution: | Keywords: compilation
----------------------------------------------+-----------------------------
Changes (by bemandawes):
* status: new => assigned
Comment:
Here is the code:
// 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
I'm guessing the SUNPRO_CC code is wrong. If you could submit a tested
patch, I'd appreciate it.
Thanks,
--Beman
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6659#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC