-
Notifications
You must be signed in to change notification settings - Fork 186
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
Completion of error handling #109
Comments
For strdup, yes. For printf... why? |
I suggest to avoid ignorance of return values a bit more.
|
Fixed for strdup in grokdir, commit c671a2b. Dealing with printf seems rather more complicated, as it returns a positive number of bytes read even when output is redirected to /dev/full. I don't know how to get printf to return an error when stdout is full. |
Can you get any further software development ideas from the following command example?
|
Would you like to add more error handling for return values from functions like the following?
The text was updated successfully, but these errors were encountered: