← Back to team overview

kicad-developers team mailing list archive

Re: slow PCB_IO::Save()


On Thu, Oct 25, 2012 at 12:50:26AM -0500, Dick Hollenbeck wrote:
> Consider this now fixed.  Thanks for the idea, although I did not use wxFFile, simply
> FILE*.   (No need to trust wx for the basics, as we've just seen.)

Unless you're using the newer visual c++, where using fopen is flagged
as a security risk :) (really! probably there where enough people that
didn't check for NULL, they added a return code and you have to pass the
address where the FILE* has to be put...)

Oh, also strncpy is a security risk for that people...

/me is sad seeing how perfectly compliant ISO C code actually doesn't
compile cleanly under visual C...

Lorenzo Marcantonio
Logos Srl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Follow ups