(not) catching ^C in ghc-built application

Ken Shan ken@digitas.harvard.edu
Tue, 13 Aug 2002 15:37:28 -0400


--TRYliJ5NKNqkz5bu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2002-08-13T07:34:54-0700, Seth Kurtzberg wrote:
> Neither of you should be using a global variable at all!  Do something li=
ke=20
> this:
>=20
> struct _myglobals
> {
> 	.
> 	.
> 	.
> 	bool interrupted;
> 	.
> 	.
> 	.
> } myglobals;
>=20
> and then replace "interrupted" with "myglobals.interrupted".
>=20
> C has enough problems without using unqualified globals!

But if they *both* use the name "myglobals"...

--=20
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
"Anyone who slaps a 'this page is best viewed with Browser X' label=20
on a Web page appears to be yearning for the bad old days, before the Web,=
=20
when you had very little chance of reading a document written on another=20
computer, another word processor, or another network." -- Tim Berners-Lee

--TRYliJ5NKNqkz5bu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9WV/3zjAc4f+uuBURAlDVAKC5fIPd6U2a3H4lVqh1T0sOCz2mvgCg1AZD
ZLKMlpHcuJDPsdnveto5oT0=
=K5vQ
-----END PGP SIGNATURE-----

--TRYliJ5NKNqkz5bu--