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
mardy wants to merge 1 commit intodevkitPro:masterfrom
mardy:mkdir-trailing-slash
Open

Allow passing a path with a trailing slash to mkdir#22
mardy wants to merge 1 commit intodevkitPro:masterfrom
mardy:mkdir-trailing-slash

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant