Boost logo

Boost :

From: Arjen Wagenaar (arjenw_at_[hidden])
Date: 2006-03-02 08:21:46


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).

Arjen


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