From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,f868292008c639ce X-Google-Attributes: gid103376,public From: "Pascal Obry" Subject: Re: C vs. Ada - strings Date: 2000/05/05 Message-ID: <8eut0k$het$1@wanadoo.fr>#1/1 X-Deja-AN: 619640441 References: <390F0D93.F835FAD9@ftw.rsc.raytheon.com> <8es4ad$3d6$1@nnrp1.deja.com> <8esjc3$lp1$1@nnrp1.deja.com> <87og6lv6ix.fsf@deneb.cygnus.argh.org> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 X-Complaints-To: abuse@wanadoo.fr X-Trace: wanadoo.fr 957544276 17885 164.138.106.166 (5 May 2000 16:31:16 GMT) Organization: home NNTP-Posting-Date: 5 May 2000 16:31:16 GMT Newsgroups: comp.lang.ada Date: 2000-05-05T16:31:16+00:00 List-Id: Florian Weimer a �crit dans le message <87og6lv6ix.fsf@deneb.cygnus.argh.org>... >and mktemp() does write to the array argument. (Of course, you should >never-ever use mktemp(), tmpnam() or tempnam(). Note that there is at >least one Ada implementation which uses tmpnam() internally to create >a name name for Ada temporary files, so be careful there as well.) Can you enlight us about why one should not use tmpnam() and tempnam() ? Just that it is not clear to me... I'am not a fan C programmer :) Pascal. --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| --| "The best way to travel is by means of imagination"