diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2025-07-29 09:14:37 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2025-08-03 19:48:05 -0700 |
| commit | 3918655d4b4bc0e52349aebd7c9816b401ac0d9d (patch) | |
| tree | 3d6cc79d4a3e7dda9accca899c5694b7876fd42b /scripts/git-hooks/commit-msg | |
| parent | tail: refactor to skip stat call on failure (diff) | |
| download | coreutils-3918655d4b4bc0e52349aebd7c9816b401ac0d9d.tar.gz coreutils-3918655d4b4bc0e52349aebd7c9816b401ac0d9d.zip | |
tail: refactor SEEK_END and lines
* src/tail.c (tail_lines): Refactor to simplify the confusing
code for using SEEK_END when counting lines. The old code
had a ‘end_pos != 0’ expression that was always true.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
