|
Boost Users : |
Subject: Re: [Boost-users] Filesystem Library Bug
From: Andreas Wehrmann (a.wehrmann_at_[hidden])
Date: 2012-03-05 02:45:20
On 03/02/2012 08:25 PM, Sam Hertz wrote:
> Hi,
>
> I am having some trouble with the latest version of the Boost Filesystem
> library. The following causes a segmentation fault:
>
> boost::filesystem::create_directory(boost::filesystem::current_path()/"test");
> boost::filesystem::remove_all(boost::filesystem::current_path()/"test");
>
You know you're dividing, right?
current_path() divided by constant string :-)
-- Dipl.-Ing. (FH) Andreas Wehrmann Software Development -------------------------------------------------------------- Center Communication Systems GmbH A-1210 Wien, Ignaz-Köck-Straße 19 Sitz in Wien FN 796 88p, Firmenbuchgericht Wien www.centersystems.com Tel.: +43 (0) 190 199 - 3616 Mobile: +43 (0) 664 884 75916 Fax: +43 (0) 190 199 - 2110 E-Mail: a.wehrmann_at_[hidden]
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net