Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2000 10:11:52 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        arch@freebsd.org
Cc:        marcel@cup.hp.com
Subject:   Re: Modifying FILE to add lock
Message-ID:  <200012011811.eB1IBqY01763@vashon.polstra.com>
In-Reply-To: <3A257ABD.5238ED4E@cup.hp.com>
References:  <Pine.BSF.4.20.0011291152160.58003-100000@alive.znep.com> <3A257ABD.5238ED4E@cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <3A257ABD.5238ED4E@cup.hp.com>,
Marcel Moolenaar  <marcel@cup.hp.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012011811.eB1IBqY01763>