comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: GNAT 3.14p and Red Hat 7.2
Date: Sat, 30 Mar 2002 15:22:26 -0600
Date: 2002-03-30T15:22:26-06:00	[thread overview]
Message-ID: <mailman.1017523381.30449.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 87hemxyif6.fsf@deneb.enyo.de


----- Original Message ----- 
From: "Florian Weimer" <fw@deneb.enyo.de>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: March 30, 2002 1:17 PM
Subject: Re: GNAT 3.14p and Red Hat 7.2


> Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de> writes:
> 
> > Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de> wrote:
> > : Maybe I should try to state this more clearly. Some quotes:
> > And maybe my previous post was a bit strong, ahum. happy holidays.
> > - georg
> > (but look at glibc's tmpfile() H)
> 
> An Ada temporary file requires a name, and tmpfile() creates an
> unnamed file.

Where did you get the idea that an Ada temporary file requires a name?

There are only two mentions of temporary files in the LRM, viz.:

A.8.2 (4) A null string for Name specifies an external file that is
not accessible after the completion of the main program (a temporary
file). A null string for Form specifies the use of the default
options of the implementation for the external file.

A.8. (23) The exception Status_Error is propagated if the given file
is not open. The exception Use_Error is propagated if the associated
external file is a temporary file that cannot be opened by any name.

Thus, an Ada temporary file is also unnamed.

Respectfully,

David Hoos
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
> 
> 





  reply	other threads:[~2002-03-30 21:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-24 23:20 GNAT 3.14p and Red Hat 7.2 Ken Nelson
2002-03-25 15:22 ` Mark Johnson
2002-03-26  2:12   ` Ken Nelson
2002-03-26 14:56     ` Mark Johnson
2002-03-26 19:52       ` Florian Weimer
2002-03-26 17:21     ` Stephen Leake
2002-03-26 19:53       ` Florian Weimer
2002-03-27 10:49         ` David C. Hoos, Sr.
2002-03-27 11:55           ` Florian Weimer
2002-03-28 16:04             ` Georg Bauhaus
2002-03-28 20:34               ` Florian Weimer
2002-03-29 16:02                 ` Georg Bauhaus
2002-03-30 16:18                   ` Georg Bauhaus
2002-03-30 19:17                     ` Florian Weimer
2002-03-30 21:22                       ` David C. Hoos, Sr. [this message]
2002-03-30 23:14                         ` Florian Weimer
2002-03-26 10:06 ` Dr. Michael Paus
replies disabled

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