[fpc-devel] GetAppConfigDir and GetAppConfigFile output

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Tue Dec 13 02:14:34 CET 2005


Hello,

I recently tryed to use those two functions, so I created a test app
with 4 functions:

  WriteLn(GetAppConfigDir(True));
  WriteLn(GetAppConfigDir(False));
  WriteLn(GetAppConfigFile(True));
  WriteLn(GetAppConfigFile(False));

The output on a GNU/Linux system:

/etc
/home/felipe/project1
/etc/project1.cfg
/home/felipe/.project1

Is the output for non global configurations correct?

Shoudn't it be:

/etc
/home/felipe/.project1
/etc/project1.cfg
/home/felipe/.project1.cfg

I never see programs create folders without the dot on the home
directory. This surely would be an unconvenient behavior.

The output is the same on 2.0.0 and 2.0.2
--
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list