Re: MSVC and fpending

2016-12-13 Thread Bruno Haible
Jim Meyering wrote: > That sounds good, and your patch looks fine. > Thanks for taking that on. OK. Pushed. Bruno -- In memoriam the victims of the Massacre of Margarita Belén

Re: MSVC and fpending

2016-12-12 Thread Jim Meyering
On Mon, Dec 12, 2016 at 5:58 PM, Bruno Haible wrote: > Hi Jim, > > On Windows with MSVC, the 'fpending' module does not pass its test, > because config.h defines > > #define PENDING_OUTPUT_N_BYTES 1 > > In order to get this right, the expression should be > > ((struct { unsigned char *_ptr; un

MSVC and fpending

2016-12-12 Thread Bruno Haible
Hi Jim, On Windows with MSVC, the 'fpending' module does not pass its test, because config.h defines #define PENDING_OUTPUT_N_BYTES 1 In order to get this right, the expression should be ((struct { unsigned char *_ptr; unsigned char *_base; } *) fp)->_ptr - ((struct { unsigned char *_ptr;