Re: [PATCH 4/7] convert less-trivial versions of "write_in_full() != len"

2017-09-13 Thread Jonathan Nieder
Jeff King wrote: > The prior commit converted many sites to check the return > value of write_in_full() for negativity, rather than a > mismatch with the input length. This patch covers similar > cases, but where the return value is stored in an > intermediate variable. These should get the same

[PATCH 4/7] convert less-trivial versions of "write_in_full() != len"

2017-09-13 Thread Jeff King
The prior commit converted many sites to check the return value of write_in_full() for negativity, rather than a mismatch with the input length. This patch covers similar cases, but where the return value is stored in an intermediate variable. These should get the same treatment, but they need to