[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tmpnam(0)
From: |
Andreas Zeller |
Subject: |
Re: tmpnam(0) |
Date: |
26 Mar 2001 18:19:53 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
Hi!
jle@star.be writes:
> On a HP Visualize system running HPUX 10.20,
> using gcc-2.95.2 or gcc-2.95.3, ddd crashes due
> a call to tmpnam(0) returning NULL
>
> File : comm-manag.C
> Line: info->tempfile = tmpnam(0);
>
> This is due to the fact I force C++ compiler to "g++ -threads"
>
> In multithreaded mode a call to tmpnam(0) (on HP !)
> does not operate and returns NULL !! (so says HP doc on tmpnam)
Thanks! I have now set up the DDD code such that `mkstemp' is always
preferred to `tmpnam'.
Greetings,
Andreas
--
Andreas Zeller Universitaet Passau
http://www.fmi.uni-passau.de/st/staff/zeller/
- tmpnam(0), jle, 2001/03/26
- Re: tmpnam(0),
Andreas Zeller <=