Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Create temporary files w/o race conditions whenever possible (fixes #1145) #1177

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Jul 6, 2022

  1. make_temp_file__: New function.

    Try to create temporary file in the most secure and portable way
    possible.
    
    Partially fixes gnu-octave#1145.
    
    * inst/make_temp_file__.m: New function.
    * inst/@sym/sym.m: Use it.
    * inst/private/python_ipc_system.m: Use it.
    Alex Vong authored and Alex Vong committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    4763104 View commit details
    Browse the repository at this point in the history
  2. make_temp_dir__: New function.

    Try to create temporary directory in the most secure and portable way
    possible.
    
    Partially fixes gnu-octave#1145.
    
    * inst/make_temp_dir__.m: New function.
    * inst/@sym/function_handle.m: Use it.
    Alex Vong authored and Alex Vong committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    be364a7 View commit details
    Browse the repository at this point in the history