Re: [PATCH v4 1/4] transport-helper: use xread instead of read

2019-01-03 Thread Junio C Hamano
Jeff King writes: > On Wed, Jan 02, 2019 at 12:55:51PM -0800, Junio C Hamano wrote: > >> > Signed-off-by: Randall S. Becker >> > --- >> > transport-helper.c | 2 +- >> > 1 file changed, 1 insertion(+), 1 deletion(-) >> > >> > diff --git a/transport-helper.c b/transport-helper.c >> > index bf225

Re: [PATCH v4 1/4] transport-helper: use xread instead of read

2019-01-02 Thread Jeff King
On Wed, Jan 02, 2019 at 12:55:51PM -0800, Junio C Hamano wrote: > > Signed-off-by: Randall S. Becker > > --- > > transport-helper.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/transport-helper.c b/transport-helper.c > > index bf225c698f..a290695a12 100644 > > -

Re: [PATCH v4 1/4] transport-helper: use xread instead of read

2019-01-02 Thread Junio C Hamano
randall.s.bec...@rogers.com writes: > From: "Randall S. Becker" > > This fix was needed on HPE NonStop NSE and NSX where SSIZE_MAX is less than > BUFFERSIZE resulting in EINVAL. The call to read in transport-helper.c > was the only place outside of wrapper.c where it is used instead of xread. Th

[PATCH v4 1/4] transport-helper: use xread instead of read

2018-12-28 Thread randall . s . becker
From: "Randall S. Becker" This fix was needed on HPE NonStop NSE and NSX where SSIZE_MAX is less than BUFFERSIZE resulting in EINVAL. The call to read in transport-helper.c was the only place outside of wrapper.c where it is used instead of xread. Signed-off-by: Randall S. Becker --- transport