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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,41b2c090403fab50 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-11 04:38:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!HSNX.atgi.net!cyclone-sf.pbi.net!151.164.30.35!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!nntp2.aus1.giganews.com!nntp.giganews.com!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Creating tempfile takes too long: GNAT or Windows bug? Date: Fri, 11 Oct 2002 07:38:07 -0400 Organization: MindSpring Enterprises Message-ID: References: <4a4de33a.0210090358.fc50c13@posting.google.com> <3DA463E8.1080202@cogeco.ca> NNTP-Posting-Host: d1.56.b2.3d X-Server-Date: 11 Oct 2002 11:38:47 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Xref: archiver1.google.com comp.lang.ada:29713 Date: 2002-10-11T11:38:47+00:00 List-Id: Preben Randhol wrote in message news:slrnaqasl9.93n.randhol+news@kiuk0152.chembio.ntnu.no... > > In Gnat.OS_Lib > > function File_Time_Stamp (Name : String) return OS_Time; > -- Given the name of a file, Name, obtains and returns the time stamp. > -- This function can be used for an unopend file. > > procedure Delete_File (Name : String; Success : out Boolean); > > :-) > O.K. For a hack, using a compiler dependent package is probably O.K. - Assuming for the moment that the environment in question is a Gnat environment. You might not have it if you use another compiler. > > feels like an unnatural act and invariably complicates the job. Just another > > data point indicating it would be useful to have an Ada OS and that the > > argument "Well, you can always bind to blah blah blah..." is seldom > > compelling. :-) > > Well if you drag the argument further you might end up with "why use Ada > at all?". > But you'd have to drag the argument pretty hard across some rough terrain. :-) Its one thing to say "My project needs all these large C libraries - why do I want to complicate my life by using something other than C to implement my project?" (And this is generally how it goes - look at projects that rely heavily on any significant library and no matter how much better some other language may be, they very seldom go far afield from whatever that library was written in.) Its quite another thing to say "My project doesn't make extensive use of an OS or library, but I'm going to avoid Ada anyway because, well, just because!" :-) MDC -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jast.mil/ Send Replies To: m c o n d i c @ a c m . o r g "I'd trade it all for just a little more" -- Charles Montgomery Burns, [4F10] ======================================================================