diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2025-08-01 07:58:08 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2025-08-03 19:48:06 -0700 |
| commit | 15c67b79af7df75c28af1e462619722c73676184 (patch) | |
| tree | 760bfdfa236bb837974de7636423f4d6c2f474f2 /scripts/git-hooks/commit-msg | |
| parent | tail: record file offset more carefully (diff) | |
| download | coreutils-15c67b79af7df75c28af1e462619722c73676184.tar.gz coreutils-15c67b79af7df75c28af1e462619722c73676184.zip | |
tail: prefer < 0 to == -1
* src/tail.c (valid_file_spec, recheck, writers_are_dead)
(tail_forever, check_fspec, tail_forever_inotify, tail_file)
(parse_options, main): Be a bit more systematic about checking
for sign, rather than for exact equality or inequality,
when the sign is enough. Makes the code a bit clearer
now that -2 sometimes means success.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
