Opened 13 years ago

Closed 13 years ago

#3176 closed Bugs (fixed)

Easy to Fix: Filesystem::basic_path::stem & extension use hard coded '.' character to split filename and extension

Reported by: Michael A Jones <majic@…> Owned by: Beman Dawes
Milestone: Boost 1.40.0 Component: filesystem
Version: Boost 1.39.0 Severity: Problem
Keywords: filesystem path Cc:

Description

Seems there should be abstract name for this separator, like extension_separator<>.

Regardless, code in both:

basic_path<String, Traits>::stem() basic_path<String, Traits>::extension()

use a hard-coded value of '.' instead of dot<path_type>::value

Attachments (2)

path_use_dot.patch (9 bytes ) - added by Michael A Jones <majic@…> 13 years ago.
path_use_dot.2.patch (780 bytes ) - added by majic@… 13 years ago.
new patch

Download all attachments as: .zip

Change History (5)

by Michael A Jones <majic@…>, 13 years ago

Attachment: path_use_dot.patch added

comment:1 by Steven Watanabe, 13 years ago

The attachment contains only

svn diff

Could you try again?

by majic@…, 13 years ago

Attachment: path_use_dot.2.patch added

new patch

comment:2 by Michael Jones, 13 years ago

new patch attached

comment:3 by Beman Dawes, 13 years ago

Resolution: fixed
Status: newclosed

(In [54066]) Filesystem: apply supplied patch to fix #3176

Note: See TracTickets for help on using tickets.