From owner-freebsd-arch Fri Dec 1 10:17:29 2000 Delivered-To: freebsd-arch@freebsd.org Received: from wall.polstra.com (unknown [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 9E1D537B400 for ; Fri, 1 Dec 2000 10:17:25 -0800 (PST) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id KAA22993; Fri, 1 Dec 2000 10:11:53 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.0/8.11.0) id eB1IBqY01763; Fri, 1 Dec 2000 10:11:52 -0800 (PST) (envelope-from jdp) Date: Fri, 1 Dec 2000 10:11:52 -0800 (PST) Message-Id: <200012011811.eB1IBqY01763@vashon.polstra.com> To: arch@freebsd.org From: John Polstra Reply-To: arch@freebsd.org Cc: marcel@cup.hp.com Subject: Re: Modifying FILE to add lock In-Reply-To: <3A257ABD.5238ED4E@cup.hp.com> References: <3A257ABD.5238ED4E@cup.hp.com> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <3A257ABD.5238ED4E@cup.hp.com>, Marcel Moolenaar wrote: > > Having done the signal changes, I immediately have to think about the > Modula port... Thank you, Marcel. :-) Modula-3 does indeed have its own rendition of the FILE structure, which is supposed to match the system's version exactly. So it is a problem, in theory. In practice it is not such a problem, because as far as I know, there aren't any Modula-3 programs which use the stdio interface for their I/O. Modula-3 has its own I/O system which uses read() and write() rather than stdio. The #1 biggest hassle with the Modula-3 stuff is that it has Modula-3 versions of all of the system structures, and they have to match exactly for things to work. Some day I swear I'm going to work out a way to generate the M3 versions automatically from the header files in /usr/include ... John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message