Opened 15 years ago

Closed 14 years ago

#1583 closed Bugs (invalid)

Serious flaw in boost::filesystem filename handling (opensuse)

Reported by: bluedzins@… Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost 1.34.1 Severity: Regression
Keywords: Cc:

Description

This may be related to: http://svn.boost.org/trac/boost/ticket/1378

I used boost 1.33, but it didn't accept "@" in filenames, so I upgraded. Now the problems are even more severe, take a look:

/etc/apache2/ssl.key/README

is this path ok? Sure it is, but boost says (runtime error):

terminate called after throwing an instance of 'boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std: :string, boost::filesystem::path_traits> >'

what(): boost::filesystem::exists

(I wanted to check if the file exists). Sorry for rather lengthy example, I tried to shorten it, this still causes the error /etc/apache2/ssl.key/R

but my next tries to cut some more resulted in "correct" filename.

Change History (2)

in reply to:  description comment:1 by bluedzins@…, 15 years ago

I am really sorry, I didn't notice it is the problem with access privileges, but how it worked in 1.33 I have no idea.

Sorry again for messing things up.

Resolution: INVALID (I see no option for closing this report).

comment:2 by Beman Dawes, 14 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.