At 00:37 29/09/2012, you wrote:
>On Fri, 28 Sep 2012 22:52:25 +0200 Manolo wrote:
>
>M> El 28/09/12 22:28, Vadim Zeitlin escribió:
>M> > On Fri, 28 Sep 2012 21:20:24 +0200 Eric wrote:
>M> >
>M> > E>
http://forums.wxwidgets.org/viewtopic.php?f=23&t=35907&p=147025. In
>M> > E> brief, it sounds like wxGetenv("TMPDIR") returns "." rather than an
>M> > E> empty string when TMPDIR is not defined in the system.
>M> >
>M> > This would be really strange. It seems much more likely that something
>M> > does set TMPDIR to ".".
>M>
>M> wx2.9.4 changed filename.cpp. But I think it's still broken:
>M> Take a look at SVN src/common/filename.cpp :: 645
>M> I think there's a typo here:
>M> - DWORD ret = ::GetFileAttributes(path.t_str());
>M> + DWORD ret = ::GetFileAttributes(strPath.t_str());
>
>VZ> Thanks, I agree this is a bug and will fix this soon but I don't see how
>VZ> can it explain wxGetenv("TMPDIR") returning "."
As said in the forum thread, it's a random
behavior (sometime "." and sometime right). So,
effectively, it goes more toward a way it's
dependent of something in my own system... My
question was to be sure that nothing was known
about this in wxWidgets. If I succeed to define
what's wrong on my side at a time or another,
I'll report-it in the forum rather than here ;
not to pollute the list. Thanks for you replies, Vadim and Manolo.