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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ee2e271b166c2587 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!m3g2000hsc.googlegroups.com!not-for-mail From: gpriv@axonx.com Newsgroups: comp.lang.ada Subject: Re: Files and controlled types Date: Sun, 9 Mar 2008 09:39:35 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <3bd96475-530b-46a7-9b07-11ea49105b2c@e31g2000hse.googlegroups.com> NNTP-Posting-Host: 69.250.188.114 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1205080775 26922 127.0.0.1 (9 Mar 2008 16:39:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 9 Mar 2008 16:39:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m3g2000hsc.googlegroups.com; posting-host=69.250.188.114; posting-account=YaY8rAoAAAAAnFXOECY3BGVJsrvFJCgy User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20261 Date: 2008-03-09T09:39:35-07:00 List-Id: On Mar 8, 11:12 pm, "Jeffrey R. Carter" wrote: > Maciej Sobczak wrote: > > > File types are not Controlled. > > What is the rationale for this? > > What makes you think they're not controlled. The ARM only gives the public view, > which is limited private; there's nothing to prevent the full view from being > controlled. In addition, the descriptions of Ada.Sequential_IO, Ada.Direct_IO, > and Ada.Text_IO all include the language "The type File_Type needs finalization > (see 7.6)". Doesn't it mean that it's user responsibility to close the file? George > > -- > Jeff Carter > "No one is to stone anyone until I blow this whistle, > do you understand? Even--and I want to make this > absolutely clear--even if they do say, 'Jehovah.'" > Monty Python's Life of Brian > 74