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

XRootDFS: Extra checks and error reporting #513

Merged
merged 4 commits into from
May 5, 2017

Conversation

fizmat
Copy link
Contributor

@fizmat fizmat commented May 5, 2017

No description provided.

fizmat added 4 commits May 5, 2017 16:15
If file open failed with ENOSYS (it can if the server responded with kXR_Unsupported), then file descriptor is not initialized.
As a result any attempt to write to the file gives a segfault. This check gives a EBADF instead.
Return errors to the caller instead of ignoring them.
Just a little clean-up to use the constant everywhere, instead of only sometimes.
Report the error to caller instead of ignoring it.
@wyang007 wyang007 merged commit a40bef2 into xrootd:master May 5, 2017
@wyang007
Copy link
Member

wyang007 commented May 5, 2017

Thanks

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

2 participants