Kelly, > >Im trying to to install Qpopper 4.04 but im reciving some errors when > >running make: > > > >/root/qpopper4.0.4/common/maillock.c:278: the use of `tempnam' is dangerous, > >better use `mkstemp'
> Anyways, that shouldn't be a fatal error. I've seen that in many > programs, does it stop the build? A search for tempnam in Google gives : The tempnam() function generates a file name that can safely be used for a temporary file ... and also ... Because tempnam() only generates a file name, rather than creating a file, it is possible that another application could create a file with the same name. The function tmpfile() is not vulnerable to this race condition. and for mkstemp, Google find : The mkstemp() function creates a unique name and returns a file descriptor for the newly created file. In short, the message is only a warning, telling us that we should better use the c function __mkstemp__ instead of the c function __tempnam__. If I remember well, it's related to a race condition. As it's a warning, it should not stop the compilation process. Patrick -- Patrick Guillot mailto:[EMAIL PROTECTED] - +33 (0)6 08 41 11 54 Online Development - Paanjaru http://www.paanjaru.com Riding the Shockwave in cyberspace, for now ... and ever
