On Wed, Nov 29, 2023 at 12:02:56AM +0000, Dima Pasechnik wrote:
> 
> 
> On 28 November 2023 23:16:02 GMT, Waldek Hebisch <[email protected]> wrote:
> >
> >ATM no way, '/tmp' is hardcoded.  IIUC standard way is to use
> >value of $TMPDIR as directory for temporary files.  We can implement
> >this.  Does Android set TMPDIR to sensible value?  Or can you set it?
> >
> maybe calling mkdtemp(3) to get a unique temporary directory is better?
> Probably some lisps have it implemented.

Well, this directory is needed to start communication between
cooperating processes.  So it must be either fixed or passed
via environment variables or maybe passed via command line
(but this is problematic due to Lisp command line handling).

For our purposes TMPDIR looks good enough, I am not sure if
mkdtemp gives us any gain.  If used we would call it in single
place in C code.

-- 
                              Waldek Hebisch

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/ZWaRgDskYi4MM28d%40fricas.org.

Reply via email to