Skip to content

Completion of error handling #3

Open

Description

@elfring

Would you like to add more error handling for return values from functions like the following?

Activity

  1. p-gen commented on Dec 19, 2016

    @p-gen
    Owner

    Can you be more precise? The "usage" function returns no value and the value returned by "parse_sed_like_string" is already tested.

  2. elfring commented on Dec 20, 2016

    @elfring
    Author

    I suggest to avoid ignorance of return values a bit more.
    How do you think about to care also if a file output or a string copy really succeeded?

  3. markschuh commented on Jul 29, 2023

    @markschuh

    Looks to me as this issue was resolved on same day - but the issue was not closed.

    The return value for strdup are handled now with the changes in 768f82b
    And ignoring the return value of *printf functions is usually not considered that a relevant issue - at least not, when this is done during output of help messages to stdout.

  4. elfring commented on Jul 29, 2023

    @elfring
    Author

    💭 Would it matter if output redirection can occasionally fail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions