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

Check if files being copied are FIFOs in copyFile #24148

Open
wants to merge 4 commits into
base: devel
Choose a base branch
from

Conversation

tocariimaa
Copy link
Contributor

@tocariimaa tocariimaa commented Sep 21, 2024

Check if files being copied are FIFOs in copyFile
Avoids the deadlock behavior by simply raising an OSError if either source or dest is a FIFO before the actual copying operation.
Relevant issue reported on this thread by user firasuke.

Raise `OSError` if any of the operands is a FIFO.
POSIX only for now...
the dest parameter may not exist and a non existant source is handled
later in the code
well windows also have them but that's another problem...
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