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

Handle name conflicts in directory renaming #602

Merged
merged 1 commit into from
Feb 10, 2022
Merged

Handle name conflicts in directory renaming #602

merged 1 commit into from
Feb 10, 2022

Conversation

lezh
Copy link
Contributor

@lezh lezh commented Feb 10, 2022

Redo #597. Required for #590.

Making directory renaming behavior compliant with POSIX https://pubs.opengroup.org/onlinepubs/000095399/functions/rename.html

If new names an existing directory, it shall be required to be an empty directory.

[EEXIST] or [ENOTEMPTY]: The link named by new is a directory that is not an empty directory.

@lezh lezh merged commit e46f1b8 into master Feb 10, 2022
@lezh lezh deleted the rename branch February 11, 2022 00:52
lezh added a commit that referenced this pull request Feb 17, 2022
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.

None yet

1 participant