kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #22697
Re: [PATCH 01/11] Avoid comparing filepos with integers
Hi,
On 16.01.2016 04:41, Simon Richter wrote:
> The convention of using -1 as a special value is from Unix ftell(), and not
> portable. Instead, the stream's failbit needs to be examined after the call
> to tellg().
Wait, that patch got damaged in a rebase apparently. The test should be
after the tellg() call.
Simon
Attachment:
signature.asc
Description: OpenPGP digital signature
Follow ups
References