-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andy Ross schrieb: > Frederic Bouvier wrote: >> It says that strcpy ( for instance ) is not secure and one should >> use strcpy_s that is the secured version. Maybe I missed something, >> but I don't thing strcpy_s is available outside the MS world. > > They couldn't just implement strncpy ... ? Still, that's a good > example of a function that we should be migrating away from in favor > of the more robust version.
IIRC MS has a strncpy - but they are calling it strncpy_ A simple #define can fix that... I've got the MSVC 2005 laying on a disk somewhere but not installed it yet. Once I've done that I can also try to figure out some of the problems. My experience with MSVC 6.0 was that the numbers of errors might be huge - but they are all of the same kind and easy to fix. CU, Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) iD8DBQFD1UTFlhWtxOxWNFcRAuQRAKCSDJc2P8sbMtajXVjuwE0HhLPq2wCdHN10 Au0Y5qh+kh7d531Le52FrnI= =KahG -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel