Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2006-03-02 16:01:16


"Arjen Wagenaar" <arjenw_at_[hidden]> wrote in message
news:20060302132148.VZED21085.amsfep14-int.chello.nl_at_codeshop6ftss7...
> Hi Beman,
>
>> -----Original Message-----
>> From: boost-bounces_at_[hidden]
>> [mailto:boost-bounces_at_[hidden]]
>> On Behalf Of Beman Dawes
>> Sent: donderdag 23 februari 2006 22:35
>> To: boost_at_[hidden]
>> Subject: Re: [boost] bug in filesystem::wpath
>>
>> PS: I'd like to hear from programmers using wide character file names.
>> Are
>> they working OK? Are they meeting your needs?
>
> I've just found that system_complete() doesn't work for wpaths (on
> windows).
> Reason is that the stack gets corrupted in a call to GetFullPathNameW().
>
> In the function get_full_path_name_template (operations.cpp:382), a call
> is
> made to get_full_path_name. The parameter passed specifying the size of
> the
> buffer should be buf_size, instead of sizeof(buf).

Fixed in CVS.

Thanks!

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk