Skip to content

logreplay doesn't read last line if there is no '\n' character #238

Description

@vaclavbartos

Logreplay quietly ignores the last line of input file if there is no trailing EOL (\n).

While it is considered a good habit to put \n at the end of the last line in each text file, the module should read the file correctly even if this convention is not followed.

I think a simple change of the test on line 327 should be enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions