Re: [fpc-devel] GetAppConfigDir confusion

2008-07-30 Thread Michael Van Canneyt
On Wed, 30 Jul 2008, Inoussa OUEDRAOGO wrote: > >> So.. questions are: > >> 1. trailing pathdelims, yes or no? (of course only if there's something to > >> return) > > > > What is the most logical according to you ? > > For consistency purpose ( think of ExtractFileDir and ExtractFilePath > ),

Re: [fpc-devel] GetAppConfigDir confusion

2008-07-30 Thread Inoussa OUEDRAOGO
>> So.. questions are: >> 1. trailing pathdelims, yes or no? (of course only if there's something to >> return) > > What is the most logical according to you ? For consistency purpose ( think of ExtractFileDir and ExtractFilePath ), why not define * GetAppConfigDir : without pathdelim * GetAppCo

Re: [fpc-devel] GetAppConfigDir confusion

2008-07-29 Thread Marc Weustink
Ales Katona wrote: It seems that currently, GetAppConfigDir performs rather incosistently. On Unix, it returns path with trailing pathdelim, on windows it returns path with random trailing path delim (depends on which branch, see code). What should it be then? :) This is exactly the reason

Re: [fpc-devel] GetAppConfigDir confusion

2008-07-29 Thread Michael Van Canneyt
On Tue, 29 Jul 2008, Ales Katona wrote: > Michael Van Canneyt wrote / napísal(a): > > On Tue, 29 Jul 2008, Ales Katona wrote: > > > > > > > It seems that currently, GetAppConfigDir performs rather incosistently. > > > > > > On Unix, it returns path with trailing pathdelim, on windows it retu

Re: [fpc-devel] GetAppConfigDir confusion

2008-07-29 Thread Ales Katona
Michael Van Canneyt wrote / napísal(a): On Tue, 29 Jul 2008, Ales Katona wrote: It seems that currently, GetAppConfigDir performs rather incosistently. On Unix, it returns path with trailing pathdelim, on windows it returns path with random trailing path delim (depends on which branch, see

Re: [fpc-devel] GetAppConfigDir confusion

2008-07-29 Thread Michael Van Canneyt
On Tue, 29 Jul 2008, Ales Katona wrote: > It seems that currently, GetAppConfigDir performs rather incosistently. > > On Unix, it returns path with trailing pathdelim, on windows it returns path > with random trailing path delim (depends on which branch, see code). > > What should it be then?

[fpc-devel] GetAppConfigDir confusion

2008-07-29 Thread Ales Katona
It seems that currently, GetAppConfigDir performs rather incosistently. On Unix, it returns path with trailing pathdelim, on windows it returns path with random trailing path delim (depends on which branch, see code). What should it be then? Considering the importance of this function to prog