On Thursday 03 Mar 2005 09:56, -=MikeP=- wrote: > +#ifdef C_QNX6 > + snprintf(fullname, sizeof(fullname), "%s/clamavtmpXXXXXXXXXXXXX", > dir);
Is that right? QNX's mkstemp takes 13Xs not the standard 6? > +#else > snprintf(fullname, sizeof(fullname) - 1 - suffixLen, "%s/%.*sXXXXXX", > dir, > (int)(sizeof(fullname) - 9 - suffixLen - strlen(dir)), > filename); > +#endif -Nigel -- Nigel Horne. Arranger, Composer, Typesetter. NJH Music, Barnsley, UK. ICQ#20252325 [EMAIL PROTECTED] http://www.bandsman.co.uk _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html