Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xrootdfs: check file descriptor before using it in xrootdfs wcache
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.
- Loading branch information