pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System file reorganisation


From: Neil Hotmail
Subject: Re: System file reorganisation
Date: Thu, 24 Oct 2002 11:30:55 +0100

> > std::string
> > System::get_tmpdir()
> > {
> >   // FIXME: Warning: these hardcoded values are most probably wrong!
> >   return "c:\\windows\\temp\\";
> > }
> >
> > /* EOF */
>
>
> Yes, this is very, very wrong.

I know, I use GetTempPath in the one on my hard drive, I was just waiting
for the structure to be committed before I changed the code.
Also lots of the "basename" functions etc. assume paths use / as a
separator, which will cause windows errors.

Ginge





reply via email to

[Prev in Thread] Current Thread [Next in Thread]