Re: [hackers] [farbfeld] [PATCH] Improve fread error handling in ff2*

From: FRIGN <dev_AT_frign.de>
Date: Thu, 19 May 2016 12:56:42 +0200

On Thu, 19 May 2016 01:21:58 +0300
Alexander Krotov <ilabdsf_AT_yandex.ru> wrote:

Hey Alexander,

> In case of unexpected end of file errno is not set, and strerror(errno)
> returns "Success". Caller should distinguish between error and EOF by
> calling ferror(3) as described in fread(3).

thank you very much for this patch! I've applied it. Very good work!

Cheers

FRIGN

-- 
FRIGN <dev_AT_frign.de>
Received on Thu May 19 2016 - 12:56:42 CEST

This archive was generated by hypermail 2.3.0 : Thu May 19 2016 - 13:00:21 CEST