On Fri, 8 Oct 2010, Sven Barth wrote:

Am 07.10.2010 20:02, schrieb Jonathan:
On Thu, 07 Oct 2010 11:01:44 +0200
Sven Barth<pascaldra...@googlemail.com>  wrote:

Btw: What are Tomoyo and Apparmour (I can imagine what the second one
is, but I don't know what functionality they provide)?

http://tomoyo.sourceforge.jp/
https://wiki.ubuntu.com/AppArmor

Thanks.

So when changing/improving GetTempFileName we could also try to make it compatible to such applications by creating a directory in TEMP for the temporary file that contains the appname and the user.

The current implementation does just that. It uses GetTempDir which checks
TEMP and TMP (in that order), and if neither is set, uses /tmp.

Note also that you can hook in the temporary filename mechanism by setting
OnGetTempFile and doing it all yourself.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to