X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: Re: mmap (was: Re: Bash bugs (was: djgpp/libreadline bug)) Date: Wed, 7 Apr 2010 14:19:30 -0700 (PDT) Organization: http://groups.google.com Lines: 27 Message-ID: References: <013d25d6-f34d-4686-9c68-0de775d5bf59 AT t20g2000yqe DOT googlegroups DOT com> <834ojz111c DOT fsf AT gnu DOT org> <9e95b163-ba8a-467d-870e-4f3437dd9a96 AT y17g2000yqd DOT googlegroups DOT com> <1433b3f4-9d44-455b-9465-e873fd2cb618 AT 33g2000yqj DOT googlegroups DOT com> <8d449cf5-3dce-48c8-b8e7-e535b037b4a6 AT 8g2000yqz DOT googlegroups DOT com> <83zl1oxzat DOT fsf AT gnu DOT org> <81hah9Fit3U1 AT mid DOT individual DOT net> <4BB4C8EC DOT 8050909 AT iki DOT fi> <83r5mywcqy DOT fsf AT gnu DOT org> <45780149-957b-4e1a-9c91-fc01b4f040e4 AT y17g2000yqd DOT googlegroups DOT com> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1270675170 23392 127.0.0.1 (7 Apr 2010 21:19:30 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Wed, 7 Apr 2010 21:19:30 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: z11g2000yqz.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.5.22 Version/10.51,gzip(gfe) Bytes: 3299 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, On Apr 6, 9:16=A0pm, "Charles Sandmann" wrote: > >"Rugxulo" wrote in message > >news:ed9524fc-91bf-4479-9de7-56e304705f5e AT u22g2000yqf DOT googlegroups DOT com..= . > > > >One (non-GNU) third-party app in particular won't port to DJGPP > >because it needs mmap(), which I think I was told is default in a > >newer POSIX version. Checking the newsgroup archives here shows that > >DPMI 1.0 could maybe support such emulation, but nobody has bothered > > Depending on what that application does with mmap(), it can > probably be emulated (with some overhead), even on ordinary > DPMI 0.9. =A0Is this an app that is worth the effort? =A0Does it have > a compile option to work around older systems with buggy or > inoperative mmap()? No, I was just making a point. It's a silly app, CFunge, a "fast" Befunge98 interpreter written in C99/POSIX. The point was that he brags about POSIX yet uses things like mmap() which aren't in older POSIX standards, hence DJGPP is out by default. Basically, he uses mmap() for simplicity and efficiency, I think. He's definitely NOT interested in DJGPP, though, so even if I was able to patch it, he won't integrate changes. (There are other B98 interpreters, including original / official "fbbi", which DJGPP happily accepts. I just thought having one more couldn't hurt, heh.)