On Wed, Aug 20, 2003 at 03:12:21AM +0800, Marc Chan wrote:
> hi plug members,
>
> i'm trying to install qpopper as my pop3 server but this comes out when
> ever i make...
>
> ../common/libcommon.a(maillock.o): In function `Qmaillock':
> /root/qpopper4.0.4/common/maillock.c:278: the use of `tempnam' is
> dangerous, better use `mkstemp'
> make[1]: Leaving directory `/root/qpopper4.0.4/popper'
>
>
> the make won't finish.... how can i ignore this error?
>
You can ignore this _warning_. It's not an error. The 'make' *is*
finished, but gcc is nice enough to warn you that the 'tempnam' function
is dangerous. If you read the man page for tempnam(3), it says near the
bottom:
BUGS
The precise meaning of `appropriate' is undefined; it is unspecified
how accessibility of a directory is determined. Never use this func-
tion. Use mkstemp(3) instead.
It is thus being actively deprecated. QPopper has been built correctly
though, and you should be able to install it by doing a make install.
If it bothers you enough, you can change the code to use mkstemp(3)
instead of tempnam(3) and submit a patch to the qpopper developers.
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie