diff options
author | Omar Polo <op@omarpolo.com> | 2024-06-17 07:23:18 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-06-17 07:23:18 +0000 |
commit | 0a7192ddc76de4ee32eb017306ab5971d902d638 (patch) | |
tree | 10df081c3780a10e36db6735050e5cd65e719222 /utils.c | |
parent | bc5e9ae52576c9a0673dd2b7b7ddaadd05dd976e (diff) |
titan: improve error checking
Not only the reading, but the writing can fail too so bail out early
in that case. Also, even if it's just a pro forma, check the error
flag on stdin too.
Diffstat (limited to 'utils.c')
0 files changed, 0 insertions, 0 deletions