Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Allow passing a path with a trailing slash to mkdir #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mardy
Copy link
Contributor

@mardy mardy commented Jan 19, 2024

Some applications invoke mkdir() with a path that ends with a slash, and expect that if the last component of the path does not exist, it will be created. This indeed is the behaviour under Linux.

Some applications invoke mkdir() with a path that ends with a slash, and
expect that if the last component of the path does not exist, it will be
created. This indeed is the behaviour under Linux.
@mardy mardy force-pushed the mkdir-trailing-slash branch from 36e04aa to af85943 Compare January 19, 2024 20:16
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant