use of sprintf()??
chris <[email protected]> Fri, 26 Mar 2004 10:10:33 -0800 (PST)
| Newsgroups | gmane.comp.lang.prothon.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello all - I read about Prothon on Slashdot and wanted to check it out. I downloaded the code and started reading. In ``parser_routines.c'' (line 104) I read: "char msg[512]; sprintf(msg, "File: %s", filename);". Would the developers consider the use of safe functions over unsafe versions? For example, snprintf() (portable implementation can be found here: http://www.ijs.si/software/snprintf/). I'm just throwing this out there as it would be easier to implement these functions now as the source is still rather small. Thanks for the effort, I look forward to using Prothon. Regards, chris __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html