[lazarus] New Bug Entered

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Mar 30 03:23:46 EST 2003


On 30 Mar 2003 00:27:59 -0600
Tony Maro <tony at maro.net> wrote:

> Aha, double slash...
> 
> Maybe when it saves the settings we could have Lazarus detect this and
> remove the extra slash at the end of paths?  Or is that dangerous in
> Linux because it might break some other compatibility?  I've only been
> doing Linux programming for less than a year, and I've learned to expect
> the unexpected...

Has nothing to do with linux.
The IDE normally uses the TrimFilename function to normalize filenames,
which is neccessary to compare filenames. This eleminates double slashes,
parent dirs '..', current dirs '.' and spaces at start and end of filenames.
There was one normalization missing.
But for readability, environment directories are now always appended a
slash.


Mattias


> 
> -Tony
> 
> On Sat, 2003-03-29 at 14:43, Jesus Reyes wrote:
> > > 
> > > Somehow the filenames look different for the IDE.
> > > Is the file on a windows vfat filesystem?
> > > 
> > 
> > No
> > 
> > 
> > Hi, I found the problem, I have: /home/prog/lazarus/ in
> > "enviroment->enviroment options->lazarus directory" I corrected that
> > as: /home/prog/lazarus
> > 
> > thanks
> > 
> > 
> > 
> > _________________________________________________________
> > Do You Yahoo!?
> > La mejor conexión a internet y 25MB extra a tu correo por $100 al mes.
> > http://net.yahoo.com.mx
> > 
> > _________________________________________________________________
> >      To unsubscribe: mail lazarus-request at miraclec.com with
> >                 "unsubscribe" as the Subject
> >    archives at http://www.lazarus.freepascal.org/mailarchives
> -- 
> Thanks,
> 
> Tony Maro
> 
> Need a Linux replacement for Microsoft Money?
> Check out CheckBook Tracker!
> http://tony.maro.net/
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives






More information about the Lazarus mailing list