Re: [PATCH 1/4] strbuf.c: keep errno in strbuf_read_file()

2014-09-26 Thread Michael Haggerty
On 07/25/2014 12:43 PM, Nguyễn Thái Ngọc Duy wrote: > This function is used to replaced some code in the next patch that > does this (i.e. keep the errno when read() fails) > > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > strbuf.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) >

Re: [PATCH 1/4] strbuf.c: keep errno in strbuf_read_file()

2014-07-25 Thread Eric Sunshine
On Fri, Jul 25, 2014 at 6:43 AM, Nguyễn Thái Ngọc Duy wrote: > This function is used to replaced some code in the next patch that s/replaced/replace/ > does this (i.e. keep the errno when read() fails) > > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > strbuf.c | 7 +-- > 1 file changed, 5 in