← Back to team overview

kicad-developers team mailing list archive

Re: Revision 3817 - netlist read and setvbuf

 

> 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