kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #09200
Re: Revision 3817 - netlist read and setvbuf
On 27/nov/2012, at 15:29, Dick Hollenbeck wrote:
Dick,
Sadly it doesn't work, i'll just revert to the old code and add an #ifndef to exclude the setvbuff call.
Cleaner and simpler :)
Marco
>
>> I know Dick, is "dirty" for this reason, but knowing that the problem is more systemic
>> i've preferred have a leak than a non working suite.
>>
>> I will wait :)
>>
>> --
>> Marco
>
>
> Maybe it will work now. If you can try it for MAC now, that would be appreciated.
>
>
> if( doOwn && ftell( aFile ) == 0L )
> {
> setvbuf( fp, NULL, _IOFBF, BUFSIZ * 8 );
> }
>
>
> ftell() might tell us when it's OK to toss the original buffer.
>
>
> Dick
>
>
Follow ups
References