Skip to content

tail: Fix -r to work on pseudo-filesystems#80

Open
ricardobranco777 wants to merge 1 commit intoNetBSD:trunkfrom
ricardobranco777:reverse_pseudo
Open

tail: Fix -r to work on pseudo-filesystems#80
ricardobranco777 wants to merge 1 commit intoNetBSD:trunkfrom
ricardobranco777:reverse_pseudo

Conversation

@ricardobranco777
Copy link
Copy Markdown

Pseudo filesystems advertise a zero file size. Fix reverse() to handle such a case similarly as forward() so that --reverse works on pseudo filesystems.

A similar fixes was pushed to:

Pseudo filesystems (e.g., procfs) advertise a zero file size.
Fix reverse() to handle such a case similarly as forward() so
that --reverse works on pseudo filesystems.

Signed-off-by: Ricardo Branco <rbranco@suse.de>
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.

1 participant