comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos" <david.c.hoos.sr@ada95.com>
Subject: Re: ACT announces availability of GNAT 3.14p
Date: Tue, 12 Feb 2002 09:51:34 -0600
Date: 2002-02-12T09:51:34-06:00	[thread overview]
Message-ID: <mailman.1013528764.19576.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: slrna6id41.qji.aidan@crushed.velvet.net

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: <comp.lang.ada@ada.eu.org>
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 <karlran1234@yahoo.com> wrote
> in <e7ebd224.0202120647.30d0f732@posting.google.com>:
> 
> >  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
> 




  reply	other threads:[~2002-02-12 15:51 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-31  2:49 ACT announces availability of GNAT 3.14p Robert Dewar
2002-02-03  8:07 ` Leon Winslow
2002-02-03 10:56   ` Dmitry A. Kazakov
2002-02-03 14:18     ` Robert Dewar
2002-02-03 14:46       ` Samuel Tardieu
2002-02-03 19:53         ` Robert Dewar
2002-02-03 13:13   ` Larry Kilgallen
2002-02-03 13:47   ` Jeffrey Creem
2002-02-03 14:11   ` Robert Dewar
2002-02-03 16:50     ` Pascal Obry
2002-02-17  5:37       ` jim
2002-02-17 11:20         ` Pascal Obry
2002-02-04 14:13   ` Stephen Leake
2002-02-04 16:07     ` Stephen Leake
2002-02-04 17:18       ` Darren New
2002-02-04 18:36       ` Preben Randhol
2002-02-04 19:08       ` Pascal Obry
2002-02-06 21:36 ` Karl Ran
2002-02-07  8:15   ` Preben Randhol
2002-02-07 15:06   ` Stephen Leake
2002-02-08  1:09     ` Robert Dewar
2002-02-08 11:23       ` John English
2002-02-08 12:33         ` Georg Bauhaus
2002-02-10 18:22         ` Robert Dewar
2002-02-10 18:53           ` Matthew Woodcraft
2002-02-12 12:14           ` John English
2002-02-08 17:10       ` Stephen Leake
2002-02-10  9:26         ` Florian Weimer
2002-02-10 10:07         ` Florian Weimer
2002-02-10  9:26       ` Florian Weimer
2002-02-10 18:38         ` Robert Dewar
2002-02-10 19:23           ` Florian Weimer
2002-02-10 21:55             ` Robert Dewar
2002-02-10 22:05               ` Florian Weimer
2002-02-11 12:36                 ` Robert Dewar
2002-02-11 15:09                   ` Florian Weimer
2002-02-11 16:19                     ` Larry Kilgallen
2002-02-11 16:49                       ` Aidan Skinner
2002-02-11 19:16                       ` Florian Weimer
2002-02-11 19:36                         ` Larry Kilgallen
2002-02-12  2:18                           ` Robert Dewar
2002-02-12 21:10                             ` Florian Weimer
2002-02-12 21:59                               ` Larry Kilgallen
2002-02-11 18:55                   ` Samuel Tardieu
2002-02-12 14:47       ` Karl Ran
2002-02-12 15:28         ` Aidan Skinner
2002-02-12 15:51           ` David C. Hoos [this message]
2002-02-12 15:40         ` Florian Weimer
  -- strict thread matches above, loose matches on Subject: below --
2002-01-31  8:22 Christoph Grein
2002-02-10 18:32 ` Robert Dewar
     [not found] <0d3401c1b3dd$25df9ac0$453ab4d8@sy.com>
2002-02-12 15:47 ` Aidan Skinner
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox