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

write_all nitpicking #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

divinity76
Copy link

1: write_all always returned a bogus 0, so it might as well return nothing, also the return value was never used for anything.
2: bytes_written should be ssize_t not int

could also mention that i'm not happy with the >0 check being just an assert but i don't address that here

1: write_all always returned a bogus 0, so it might as well return nothing, also the return value was never used for anything.
2: bytes_written should be ssize_t not int

could also mention that i'm not happy with the >0 check being just an assert but i don't address that here
@acozzette
Copy link
Owner

@divinity76 Thank you for the pull request but actually this project was something I did a while ago in college and am no longer working on it or maintaining it. I think if you want to use it or contribute to it you would probably be better off finding a fork that is actively maintained.

@nixomose
Copy link

if it's any help, I've been working on a similar project:

https://github.com/nixomose/zosbd2

I used buse originally but nbd caused me all sorts of grief so I wrote something a bit more built-to-purpose.

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.

3 participants