[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: mktemp()



I also faced the same problem .. the solution is
gcc -fwritable-strings
use this flag ...

Satish/
>
>i tried a code with mktemp() system call to generate a random filename.it
>fail with a core dump.the same thing works on solaris
>
>
- ------------------------------------------
"I wouldn't recommend sex, drugs or insanity for everyone, but they've
always worked for me."
                -- Hunter S. Thompson
- --------------------------------------------------------------
Satish K. Pagare,
Visit me : http://satish.cjb.net
Software Engineer.
INFORMIX India Development Center.
Mumbai - 400 096, INDIA.
mailto:asatsi@xxxxxxxxxxx



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Please do not post HTML email to this mailing list.  HTML mails will be
thoroughly ignored and derisively sniggered at in private.

------------------------------