🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.vms
Article #146

Re: VAX-11/780 up and running at LSSM

#146
From: Lawrence D’Oliveiro
Date: Wed, 11 Nov 2026 19:54
18 lines
2216 bytes
On Wed, 11 Nov 2026 07:10:49 -0800, Andy Valencia wrote:

> Credit where credit is due, while doing some regression testing of
> CPython on the Mac, one of the tests bombed with an EXC_GUARD. Turns
> out they have "guarded" file descriptors, and if you touch them your
> program dies. The CPython test had a "sweep all the FD's and close
> them" loop, and when it touched the protected one--boom.
>
> This felt very UNIX-y to me, even though I hadn't encountered such a
> thing before. I felt like there must be some folks deep inside Apple
> who still have a feel for such things.

Do you mean, the program crashed because it was trying to close an
invalid file descriptor?

On Linux, there is a way a process can tell which of its file
descriptors are valid or not (/proc/self/fd); is there not such a
mechanism on macOS?
Technical Details
Message-ID: <11d2h6a$3b879$3@dont-email.me>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11d1sbb$4nn$1@panix2.panix.com> <10gd7ig$6g5c$1@mail.neurotica.com> <11ct38r$fj2$1@shell02.theworld.com> <11cthfm$1lilf$3@dont-email.me> <11cvqdr$fiu$1@shell02.theworld.com> <179440984981.23242.2524122738297826914@media.vsta.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D’Oliveiro <ldo@nz.invalid>
Newsgroups: comp.os.vms,comp.sys.dec
Subject: Re: VAX-11/780 up and running at LSSM
Date: Wed, 11 Nov 2026 19:54:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <11d2h6a$3b879$3@dont-email.me>
References: <11d1sbb$4nn$1@panix2.panix.com>
	<10gd7ig$6g5c$1@mail.neurotica.com> <11ct38r$fj2$1@shell02.theworld.com>
	<11cthfm$1lilf$3@dont-email.me> <11cvqdr$fiu$1@shell02.theworld.com>
	<179440984981.23242.2524122738297826914@media.vsta.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 11 Nov 2026 19:54:51 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3514601"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX190cMJjGIZXFXlAtmz0g560"; posting-host="ff2a0e441644838ad98c3cac45761627"
User-Agent: Pan/0.165 (Kostiantynivka)
Cancel-Lock: sha1:reDIjPixNDZuexLmahfvLnIuzpY= sha256:iaXUiUKWJ3kDbDclpL20rZiz4bxYmKTQixktLQfcsQI=
	sha1:JoVL6GJVHtebaQtPxoyBoWs+kc0= sha256:Qo8aI2ms4zoENAJyTXjEtdPraapknzj18E72ImhoSU0=