cvs commit: src/usr.bin/make job.c

Alexander Leidinger Alexander at Leidinger.net
Thu May 12 09:07:50 PDT 2005


Hartmut Brandt <harti at FreeBSD.org> wrote:

> harti       2005-05-12 15:45:14 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    usr.bin/make         job.c
>  Log:
>  Do mktemp() by hand to get rid of the mktemp() warning and the
>  possible associated security hole.
>
>  Submitted by:   Max Okumoto <okumoto at ucsd.edu> (7.245)

For those which didn't looked at the src: he can't use mkstemp() since he
wants to create a fifo.

But "making a copy" and creating mkfifo() out of it looks like overkill to
me. Why not using mkdtemp() and creating a fixed name in this temporary
directory instead?

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
It's ten o'clock; do you know where your processes are?




More information about the cvs-src mailing list