summary refs log tree commit diff
path: root/bin/watch.c
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-02-23 16:15:54 -0500
committerJune McEnroe <programble@gmail.com>2018-02-23 16:15:54 -0500
commit9ec79d7712b82c9642eff752cbb47dd2f40b66f1 (patch)
treea64b43840d7c2169b0dd737786f5361d2d73b0c3 /bin/watch.c
parentDon't bother checking result of close(2) in dtch (diff)
downloadsrc-9ec79d7712b82c9642eff752cbb47dd2f40b66f1.tar.gz
src-9ec79d7712b82c9642eff752cbb47dd2f40b66f1.zip
Clean up fbclock
You can't use the return value of gzerror to check if an error occurred
or not. Its implementation actually checks if the internal error is NULL
and returns the empty string if it is! This is stupid and unhelpful, so
check gzeof first since its return value actually means something.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions