Removed snprintf(). Not ANSI.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-11-05 20:41:14 +00:00
commit 6938e58f74

View file

@ -177,7 +177,7 @@ public:
/* If shadow classing is enabled, we're going to change the module name to "_module" */
if (itcl) {
char filen[256];
snprintf(filen, 255,"%s%s.itcl", Swig_file_dirname(outfile), Char(module));
sprintf(filen,"%s%s.itcl", Swig_file_dirname(outfile), Char(module));
Insert( module,0,"_" );