You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should use tmpfile or mkstemp to create temporary files whenever possible (only available in octave). Otherwise, fall back to tempname and print a warning message. If not, we can use java as java is nearly always enabled in matlab. Otherwise, just error out and ask users to enable java.
Try to create temporary file in the most secure and portable way
possible.
Partially fixesgnu-octave#1145.
* inst/make_temp_file__.m: New function.
* inst/@sym/sym.m: Use it.
* inst/private/python_ipc_system.m: Use it.
alexvong243f
pushed a commit
to alexvong243f/octsympy
that referenced
this issue
Jul 6, 2022
Try to create temporary directory in the most secure and portable way
possible.
Partially fixesgnu-octave#1145.
* inst/make_temp_dir__.m: New function.
* inst/@sym/function_handle.m: Use it.
We should use
tmpfile
ormkstemp
to create temporary files whenever possible (only available in octave).Otherwise, fall back toIf not, we can use java as java is nearly always enabled in matlab. Otherwise, just error out and ask users to enable java.tempname
and print a warning message.See also the discussion in #1140.
The text was updated successfully, but these errors were encountered: