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=-1.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9960fa51a4a478af X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-12 07:46:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!freenix!enst!enst.fr!not-for-mail From: "David C. Hoos" Newsgroups: comp.lang.ada Subject: Re: ACT announces availability of GNAT 3.14p Date: Tue, 12 Feb 2002 09:51:34 -0600 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <5ee5b646.0201301849.4e951bcb@posting.google.com> <5ee5b646.0202071709.11b3f88c@posting.google.com> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1013528764 45829 137.194.161.2 (12 Feb 2002 15:46:04 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 12 Feb 2002 15:46:04 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Original-Cc: aidan@velvet.net Xref: archiver1.google.com comp.lang.ada:19941 Date: 2002-02-12T09:51:34-06:00 Where did you get the idea that the two functions have the same prototype? mktemp returns a pointer to a string which is the name of the file which would have been unique at the moment the was generated (but not necessarily afterward, which is the whole point of the problem). mkstemp, on the other hand returns a file descriptor for the file which has been created and opened for exclusive use of the caller. David ----- Original Message ----- From: "Aidan Skinner" < > Newsgroups: comp.lang.ada To: Sent: Tuesday, February 12, 2002 9:28 AM Subject: Re: ACT announces availability of GNAT 3.14p > On 12 Feb 2002 06:47:01 -0800, Karl Ran wrote > in : > > > How you guys got rid of these warnings? > > The correct way is probably to replace the calls to mktemp in the gnat > sources with mkstemp, it has the same prototype and simliar enough > semantics that it should be easy to do. > > Of course, I say this without actually trying it. > > - Aidan > -- > aidan@velvet.net http://www.velvet.net/~aidan/ aim:aidans42 > finger for pgp key fingerprint: |----------------------------- > 01AA 1594 2DB0 09E3 B850 | The lurkers support me in > C2D0 9A2C 4CC9 3EC4 75E1 | email > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada >