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

tempdir: error on non-directory result #33593

Merged
merged 3 commits into from
Feb 13, 2024
Merged

tempdir: error on non-directory result #33593

merged 3 commits into from
Feb 13, 2024

Conversation

StefanKarpinski
Copy link
Sponsor Member

@StefanKarpinski StefanKarpinski commented Oct 17, 2019

Potential more graceful handling of #33382. I thought about creating the directory if it doesn't exist, but that seems aa bit questionable. Probably better to let the user know about the situation in a clear way so they can mitigate it. An even better improvement would be if we could tell them which environment variable to look at. I tried setting TEMP in the environment on macOS but it didn't seem to have any effect on the result.

@musm
Copy link
Contributor

musm commented Feb 1, 2020

Should this also check if the directory is writable, and raise an exception if the user doesn't have write permissions?

base/file.jl Outdated Show resolved Hide resolved
@StefanKarpinski
Copy link
Sponsor Member Author

Bump

base/file.jl Outdated Show resolved Hide resolved
base/file.jl Outdated Show resolved Hide resolved
base/file.jl Outdated Show resolved Hide resolved
base/file.jl Outdated Show resolved Hide resolved
@vtjnash vtjnash added the status:merge me PR is reviewed. Merge when all tests are passing label Feb 10, 2024
@N5N3 N5N3 merged commit 56e193e into master Feb 13, 2024
7 checks passed
@N5N3 N5N3 deleted the sk/tempdir branch February 13, 2024 00:12
@giordano giordano removed the status:merge me PR is reviewed. Merge when all tests are passing label Feb 15, 2024
fatteneder added a commit to fatteneder/julia that referenced this pull request Feb 17, 2024
fatteneder added a commit that referenced this pull request Feb 17, 2024
Warnings were introduced in #33593.
KristofferC pushed a commit that referenced this pull request Feb 26, 2024
tecosaur pushed a commit to tecosaur/julia that referenced this pull request Mar 4, 2024
tecosaur pushed a commit to tecosaur/julia that referenced this pull request Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants