[pkg-boost-devel] Bug#565504: [bdawes at acm.org: Re: [boost] Boost.Filesystem: basename function is not compatible with POSIX; potential for path-related security issues]

Roger Leigh rleigh at codelibre.net
Tue Feb 2 22:55:06 UTC 2010


On Sun, Jan 17, 2010 at 08:27:19PM -0600, Steve M. Robbins wrote:
> I forwarded the bug report to boost at lists.boost.org [1] and
> this is the response: "as designed".  See below and let me know
> if that answer is sufficient to close the bug.

While this explains the behaviour, I think it would be for the
best if the exact behaviour, and its lack of compatibility with
POSIX, were described in the documentation to make this explicitly
clear.

Direct equivalents to POSIX basename() and dirname() would be a
really nice to have feature (in addition to the existing
functions), even if named differently due to compatibility
restrictions, but documented to be equivalent.


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20100202/082eb9f5/attachment.pgp>


More information about the pkg-boost-devel mailing list