Skip to content

Create tempdir if it does not exist#222

Open
alxnegrila wants to merge 1 commit intoJonathonReinhart:mainfrom
ARNTechnology:recursive_create_tempdir_if_no_exist
Open

Create tempdir if it does not exist#222
alxnegrila wants to merge 1 commit intoJonathonReinhart:mainfrom
ARNTechnology:recursive_create_tempdir_if_no_exist

Conversation

@alxnegrila
Copy link

If the tmproot (TMPDIR or "/tmp") does not exist, an error will be triggered.
Recursive creating tmproot if it does not exist.

It would have been nice to import libite but it would have create a new dependency
Credits for mkpath: https://github.com/troglobit/libite/blob/master/src/makepath.c#L40

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.

1 participant