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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,195cfda04e416f67 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-08 13:22:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNAT and Memory Maps? Date: 08 Jul 2003 21:20:57 +0100 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1057695720 16173 62.49.19.209 (8 Jul 2003 20:22:00 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Tue, 8 Jul 2003 20:22:00 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:40131 Date: 2003-07-08T21:20:57+01:00 List-Id: Hyman Rosen writes: > Simon Wright wrote: > > I would be very surprised if GNAT ever chose to use mmap -- how would > > it know which file to map? > > The traditional choice is /dev/zero, which provides an infinitely > long stream of zero bytes. Oh, using MAP_PRIVATE? I live and learn!